diff --git a/packages/desktop/views/dashboard/campaigns/components/CampaignHeader.svelte b/packages/desktop/views/dashboard/campaigns/components/CampaignHeader.svelte index 805382afd8..aad912f5cb 100644 --- a/packages/desktop/views/dashboard/campaigns/components/CampaignHeader.svelte +++ b/packages/desktop/views/dashboard/campaigns/components/CampaignHeader.svelte @@ -4,13 +4,14 @@ import { ICampaign } from '@contexts/campaigns' import { openUrlInBrowser } from '@core/app' import { TIDE_BASE_URL, TideWebsiteEndpoint } from '@core/tide' - import Pane from '@ui/atoms/Pane.svelte' + import { Pane, NetworkAvatar } from '@ui' import { MediaPlaceholder } from '@ui/molecules' import CampaignParticipantsPill from './CampaignParticipantsPill.svelte' import CampaignRewardsPill from './CampaignRewardsPill.svelte' import CampaignStatusPill from './CampaignStatusPill.svelte' import CampaignTimestampPill from './CampaignTimestampPill.svelte' import sanitizeHtml from 'sanitize-html' + import { NetworkNamespace } from '@core/network' import { localize } from '@core/i18n' import CampaignUsersPill from './CampaignUsersPill.svelte' @@ -109,7 +110,8 @@ class="whitespace-pre-line overflow-hidden text-ellipsis line-clamp-3">{description}
-
+
+ diff --git a/packages/desktop/views/dashboard/campaigns/components/CampaignsGalleryItem.svelte b/packages/desktop/views/dashboard/campaigns/components/CampaignsGalleryItem.svelte index 091010daac..0e132616ea 100644 --- a/packages/desktop/views/dashboard/campaigns/components/CampaignsGalleryItem.svelte +++ b/packages/desktop/views/dashboard/campaigns/components/CampaignsGalleryItem.svelte @@ -2,8 +2,9 @@ import { Text } from '@bloomwalletio/ui' import { ICampaign, featuredCampaigns } from '@contexts/campaigns' import { setSelectedCampaign } from '@contexts/campaigns/stores' - import { MediaPlaceholder } from '@ui' + import { MediaPlaceholder, NetworkAvatar } from '@ui' import { CampaignsRoute, campaignsRouter } from '../' + import { NetworkNamespace } from '@core/network' import CampaignParticipantsPill from './CampaignParticipantsPill.svelte' import CampaignStatusPill from './CampaignStatusPill.svelte' import CampaignTimestampPill from './CampaignTimestampPill.svelte' @@ -45,7 +46,8 @@
{campaign.title} -
+
+ diff --git a/packages/desktop/views/dashboard/components/DashboardSidebar.svelte b/packages/desktop/views/dashboard/components/DashboardSidebar.svelte index cd82284b27..5b039ffc1f 100644 --- a/packages/desktop/views/dashboard/components/DashboardSidebar.svelte +++ b/packages/desktop/views/dashboard/components/DashboardSidebar.svelte @@ -58,10 +58,7 @@ }, ] : []), - ...(features?.campaigns?.enabled && - profileFeatures?.campaigns && - ($activeProfile?.network?.id === SupportedStardustNetworkId.Shimmer || - $activeProfile?.network?.id === SupportedStardustNetworkId.Testnet) + ...(features?.campaigns?.enabled && profileFeatures?.campaigns ? [ { icon: IconName.Trophy,