diff --git a/apps/Mintbase/widget/Mintbase/App/ContractProfilePage/Index.jsx b/apps/Mintbase/widget/Mintbase/App/ContractProfilePage/Index.jsx
index a280c38d..9d1b2048 100644
--- a/apps/Mintbase/widget/Mintbase/App/ContractProfilePage/Index.jsx
+++ b/apps/Mintbase/widget/Mintbase/App/ContractProfilePage/Index.jsx
@@ -27,24 +27,26 @@ const { href } = VM.require("${alias_builddao}/widget/lib.url") || {
const [isStoreOwner, setIsStoreOwner] = useState(false);
const [isMinter, setIsMinter] = useState(false);
-const actualTabs = {
- tabLabels: [
+const tabs = {
+ labels: [
{ id: 0, title: "NFTs" },
{ id: 1, title: "_About", hidden: !connectedUserIsMinter },
- { id: 2, title: "Discussions" },
+ {title: "_Mint NFT", hidden: !isMinter},
+ { id: 3, title: "Discussions" },
// { id: 3, title: "_User Settings", hidden: !connectedUserIsMinter },
{ id: 4, title: "Activity" },
{ id: 5, title: "Analytics" },
+ {title: "_Contract Settings", hidden: !isStoreOwner && !context.accountId}
],
};
-if (isStoreOwner && context.accountId) {
- actualTabs.tabLabels.splice(2, 0, { id: 7, title: "Contract Settings" });
-}
-if (isMinter) {
- actualTabs.tabLabels.splice(1, 0, { id: 2, title: "Mint NFT" });
-}
-const hiddenTabs = actualTabs.tabLabels
+// if (isStoreOwner && context.accountId) {
+// tabs.labels.splice(2, 0, { id: 7, title: "Contract Settings" });
+// }
+// if (isMinter) {
+// tabs.labels.splice(1, 0, { id: 2, title: "Mint NFT" });
+// }
+const hiddenTabs = tabs.labels
.filter((tab) => !tab.hidden)
.map((tab) => tab.title);
const tabProps = { tabLabels: hiddenTabs };
@@ -328,7 +330,6 @@ const PageContent = () => {
isDarkModeOn,
connectedDao: connectedDao,
showFilters: showListedFilters,
- showingListed: showListed,
}}
/>
);
diff --git a/apps/Mintbase/widget/Mintbase/MbTabs.jsx b/apps/Mintbase/widget/Mintbase/MbTabs.jsx
index 4e77d678..bcb2c224 100644
--- a/apps/Mintbase/widget/Mintbase/MbTabs.jsx
+++ b/apps/Mintbase/widget/Mintbase/MbTabs.jsx
@@ -92,6 +92,9 @@ const Tabs = styled.div`
align-items: center;
justify-content: center;
padding: 12px;
+ img{
+ max-width: unset;
+ }
}
`;
const Dropdown = styled.div`
diff --git a/apps/Mintbase/widget/Mintbase/Mini/Index.jsx b/apps/Mintbase/widget/Mintbase/Mini/Index.jsx
index b95ac0fb..bf52ec31 100644
--- a/apps/Mintbase/widget/Mintbase/Mini/Index.jsx
+++ b/apps/Mintbase/widget/Mintbase/Mini/Index.jsx
@@ -43,24 +43,23 @@ const { MbInputField } = VM.require(
MbInputField: () => <>>,
};
-const actualTabs = {
- tabLabels: [
- {title:"My Owned NFTs"},
- {title: "My Minted NFTs"},
- {title: "My Stores"},
- {title: "Mint NFT"},
- {title: "Store NFTs"},
- {title: "Deploy Store"},
- {title: "My Activity"},
+const tabs = {
+ labels: [
+ { title: "My Owned NFTs" },
+ { title: "My Minted NFTs" },
+ { title: "My Stores" },
+ { title: "Mint NFT" },
+ { title: "Store NFTs" },
+ { title: "Deploy Store" },
+ { title: "My Activity" },
+ {
+ title: "_DAO NFTs",
+ hidden: !connectedDao?.address && !context?.accountId,
+ },
],
};
-
-if (connectedDao?.address) {
- actualTabs.tabLabels.push({title: "DAO NFTs"})
-}
-
-const hiddenTabs = actualTabs.tabLabels
+const hiddenTabs = tabs.labels
.filter((tab) => !tab.hidden)
.map((tab) => tab.title);
const tabProps = { tabLabels: hiddenTabs };
@@ -165,10 +164,10 @@ const ContractSection = styled.div`
justify-content: space-evenly;
${getInputLabelFontType("big")}
a {
- color: var(--blue-300,#4f5fa3);
+ color: var(--blue-300, #4f5fa3);
text-decoration: none;
svg {
- color: var(--blue-300,#4f5fa3);
+ color: var(--blue-300, #4f5fa3);
}
}
svg {
@@ -434,6 +433,7 @@ const PageContent = () => {
contractId: storeAddress,
connectedDao: connectedDao,
isDarkModeOn,
+ showFilters: showOwnedFilters,
}}
/>
);
@@ -661,7 +661,8 @@ const Index = ({}) => (
isDarkModeOn,
hasQueryToggle:
selectedTab === "my-owned-nfts" ||
- selectedTab === "my-minted-owned",
+ selectedTab === "my-minted-nfts" ||
+ selectedTab === "store-nfts",
onQueryToggle: queryInOwnedToggleHandler,
}}
/>
@@ -670,15 +671,17 @@ const Index = ({}) => (