diff --git a/web/satellite/src/components/modals/ChangeProjectLimitModal.vue b/web/satellite/src/components/modals/ChangeProjectLimitModal.vue new file mode 100644 index 000000000..60e252e7d --- /dev/null +++ b/web/satellite/src/components/modals/ChangeProjectLimitModal.vue @@ -0,0 +1,530 @@ +// Copyright (C) 2023 Storj Labs, Inc. +// See LICENSE for copying information. + + + + + + diff --git a/web/satellite/src/components/project/dashboard/LimitCard.vue b/web/satellite/src/components/project/dashboard/LimitCard.vue index f0819f774..f68bb03f0 100644 --- a/web/satellite/src/components/project/dashboard/LimitCard.vue +++ b/web/satellite/src/components/project/dashboard/LimitCard.vue @@ -18,7 +18,7 @@

{{ usedInfo }}

-

{{ availableTitle }}

+

{{ availableTitle }}

{{ actionTitle }}

=> { } } } + +.alight-right { + text-align: right; +} diff --git a/web/satellite/src/components/project/dashboard/LimitsArea.vue b/web/satellite/src/components/project/dashboard/LimitsArea.vue index 5083c324c..877139439 100644 --- a/web/satellite/src/components/project/dashboard/LimitsArea.vue +++ b/web/satellite/src/components/project/dashboard/LimitsArea.vue @@ -12,7 +12,7 @@ :used-info="`Storage limit: ${usedOrLimitFormatted(limits.storageLimit, true)}`" :available-title="`${availableFormatted(limits.storageLimit - limits.storageUsed)} Available`" :action-title="usageActionTitle(storageUsed)" - :on-action="storageAction" + :on-action="() => usageAction(LimitToChange.Storage)" :is-loading="isLoading" use-action /> @@ -25,7 +25,7 @@ :used-info="`Download limit: ${usedOrLimitFormatted(limits.bandwidthLimit, true)} per month`" :available-title="`${availableFormatted(limits.bandwidthLimit - limits.bandwidthUsed)} Available`" :action-title="usageActionTitle(bandwidthUsed)" - :on-action="bandwidthAction" + :on-action="() => usageAction(LimitToChange.Bandwidth)" :is-loading="isLoading" use-action /> @@ -84,7 +84,7 @@