diff --git a/src/components/dao/settings-plans-billing.vue b/src/components/dao/settings-plans-billing.vue index 2c576478f..5cf28c5d2 100644 --- a/src/components/dao/settings-plans-billing.vue +++ b/src/components/dao/settings-plans-billing.vue @@ -211,6 +211,7 @@ export default { nav.q-mt-xl.full-width.row.justify-end q-btn.q-px-xl.rounded-border.text-bold.q-ml-xs( + :disable="!isAdmin" :label="$t('configuration.settings-plans-billing.plan.cta')" @click="state = STATES.UPDATING_PLAIN" color="secondary" diff --git a/src/components/dao/settings-tokens.vue b/src/components/dao/settings-tokens.vue index 215658682..ea3e6a1f4 100644 --- a/src/components/dao/settings-tokens.vue +++ b/src/components/dao/settings-tokens.vue @@ -181,8 +181,8 @@ export default { label.h-label {{ $t('configuration.settings-tokens.tresury.form.name.label') }} q-input.q-my-xs( :debounce="200" - :disable="selectedDao.hasCustomToken" - :filled="selectedDao.hasCustomToken" + :disable="selectedDao.hasCustomToken || !isAdmin" + :filled="selectedDao.hasCustomToken || !isAdmin" :placeholder="$t('configuration.settings-tokens.utility.form.name.placeholder')" :rules="[rules.required]" color="accent" @@ -199,8 +199,8 @@ export default { label.h-label {{ $t('configuration.settings-tokens.tresury.form.symbol.label') }} q-input.q-my-xs( :debounce="200" - :disable="selectedDao.hasCustomToken" - :filled="selectedDao.hasCustomToken" + :disable="selectedDao.hasCustomToken || !isAdmin" + :filled="selectedDao.hasCustomToken || !isAdmin" :placeholder="$t('configuration.settings-tokens.utility.form.symbol.placeholder')" :rules="[rules.required, rules.isTokenAvailable]" dense @@ -217,6 +217,7 @@ export default { .col-12(:class="{ 'invisible': selectedDao.hasCustomToken }") label.h-label {{ $t('configuration.settings-tokens.tresury.form.currency.label') }} q-select.q-my-xs( + :disable="!isAdmin" :options="currencies" :rules="[rules.required]" :style='{"min-height":"60px"}' diff --git a/src/components/dao/widget-circles.vue b/src/components/dao/widget-circles.vue index a79f6679d..bbaa4b15b 100644 --- a/src/components/dao/widget-circles.vue +++ b/src/components/dao/widget-circles.vue @@ -270,6 +270,7 @@ widget(:title="$t('configuration.settings-structure.circles.title')" titleImage= label.h-label {{ $t('configuration.settings-structure.circles.form.name.label') }} q-input.q-my-xs( :debounce="200" + :disable="!isAdmin" :placeholder="$t('configuration.settings-structure.circles.form.name.placeholder')" bg-color="white" color="accent" @@ -285,6 +286,7 @@ widget(:title="$t('configuration.settings-structure.circles.title')" titleImage= label.h-label {{ $t('configuration.settings-structure.circles.form.description.label') }} q-input.q-my-xs( :debounce="200" + :disable="!isAdmin" :input-style="{ 'resize': 'none' }" :placeholder="$t('configuration.settings-structure.circles.form.description.placeholder')" bg-color="white" @@ -302,6 +304,7 @@ widget(:title="$t('configuration.settings-structure.circles.title')" titleImage= nav.full-width.q-my-xl.row.justify-end q-btn.col-auto.q-px-xl.rounded-border.text-bold.q-mr-xs( + :disable="!isAdmin" :label="$t('configuration.settings-structure.circles.form.cancel')" @click="state = STATES.WAITING" color="white" @@ -311,6 +314,7 @@ widget(:title="$t('configuration.settings-structure.circles.title')" titleImage= unelevated ) q-btn.col-auto.q-px-xl.rounded-border.text-bold.q-ml-xs( + :disable="!isAdmin" :label="$t('configuration.settings-structure.circles.form.submit')" @click="_createCircle({...circle})" color="secondary"