Add api token dialog can only be submitted if name is given
This commit is contained in:
@@ -131,6 +131,7 @@ onMounted(async () => {
|
||||
<Dialog ref="newDialog"
|
||||
:title="$t('profile.createApiToken.title')"
|
||||
:confirm-label="addedToken ? '' : $t('main.action.add')"
|
||||
:confirm-active="isValid"
|
||||
confirm-style="primary"
|
||||
:reject-label="addedToken ? $t('main.dialog.close') : $t('main.dialog.cancel')"
|
||||
reject-style="secondary"
|
||||
|
||||
Reference in New Issue
Block a user