Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Commands:
check-wallet Validate DIDs in wallet
clone-asset [options] <id> Clone an asset
create-asset [options] Create an empty asset
create-asset-document [options] <file> Create an asset from a document file
create-asset-file [options] <file> Create an asset from a file
create-asset-image [options] <file> Create an asset from an image file
create-asset-json [options] <file> Create an asset from a JSON file
create-challenge [options] [file] Create a challenge (optionally from a file)
Expand Down Expand Up @@ -154,7 +154,7 @@ Commands:
transfer-asset <id> <controller> Transfer asset to a new controller
unpublish-credential <did> Remove a credential from the current user manifest
unpublish-poll <poll> Remove results from poll
update-asset-document <id> <file> Update an asset from a document file
update-asset-file <id> <file> Update an asset from a file
update-asset-image <id> <file> Update an asset from an image file
update-asset-json <id> <file> Update an asset from a JSON file
update-poll <ballot> Add a ballot to the poll
Expand Down
6 changes: 3 additions & 3 deletions apps/chrome-extension/src/components/AliasedDIDs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function AliasedDIDs() {
agentList,
alias,
aliasDID,
documentList,
fileList,
groupList,
imageList,
aliasList,
Expand Down Expand Up @@ -268,9 +268,9 @@ function AliasedDIDs() {
icon: <Image style={iconStyle}/>, kind: "image"
};
}
if (documentList?.includes(name)) {
if (fileList?.includes(name)) {
return {
icon: <Article style={iconStyle}/>, kind: "document"
icon: <Article style={iconStyle}/>, kind: "file"
};
}
if (pollList?.includes(name)) {
Expand Down
10 changes: 5 additions & 5 deletions apps/chrome-extension/src/components/AssetsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {TabContext, TabList, TabPanel} from "@mui/lab";
import {ControlPointDuplicate, Description, Groups, Image, Lock, Schema} from "@mui/icons-material";
import SchemaTab from "./SchemaTab";
import ImageTab from "./ImageTab";
import DocumentTab from "./DocumentTab";
import FileTab from "./FileTab";
import GroupsTab from "./GroupsTab";
import VaultTab from "./VaultTab";
import CloneAssetTab from "./CloneAssetTab";
Expand Down Expand Up @@ -44,8 +44,8 @@ function AssetsTab({ subTab }: {subTab: string}) {
<Tab
icon={<Description sx={{ mb: 0.5 }} />}
iconPosition="top"
value="documents"
label="Documents"
value="files"
label="Files"
/>
<Tab
icon={<Groups sx={{ mb: 0.5 }} />}
Expand Down Expand Up @@ -74,8 +74,8 @@ function AssetsTab({ subTab }: {subTab: string}) {
<TabPanel value="images" sx={{ p: 0 }}>
<ImageTab />
</TabPanel>
<TabPanel value="documents" sx={{ p: 0 }}>
<DocumentTab />
<TabPanel value="files" sx={{ p: 0 }}>
<FileTab />
</TabPanel>
<TabPanel value="groups" sx={{ p: 0 }}>
<GroupsTab />
Expand Down
2 changes: 1 addition & 1 deletion apps/chrome-extension/src/components/BrowserContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function BrowserContent() {
const [activeSubTab, setActiveSubTab] = useState<string>("");
const [assetSubTab, setAssetSubTab] = useState<string>("schemas");

const assetTabs = ["groups", "schemas", "images", "documents", "vaults"];
const assetTabs = ["groups", "schemas", "images", "files", "vaults"];
const displayComponent = validId && currentId !== "";

useEffect(() => {
Expand Down
Loading
Loading