Polish team role and login UI
This commit is contained in:
@@ -11,7 +11,7 @@ const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
const form = reactive({
|
||||
login: 'jayuhime_admin',
|
||||
login: '',
|
||||
password: '',
|
||||
})
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ const {
|
||||
selectedMember,
|
||||
activeMembers,
|
||||
pendingPasswordChanges,
|
||||
roleOptions,
|
||||
assignableRoleOptions,
|
||||
hasRoleChanges,
|
||||
startCreateMember,
|
||||
startEditMember,
|
||||
@@ -343,7 +343,7 @@ async function changeOwnPassword() {
|
||||
</div>
|
||||
<Button type="button" :disabled="saving || !hasRoleChanges" @click="saveRolePermissions">
|
||||
<Save class="mr-2 h-4 w-4" />
|
||||
Speicherbutton
|
||||
Speichern
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
@@ -433,7 +433,7 @@ async function changeOwnPassword() {
|
||||
v-model="memberForm.role"
|
||||
class="h-12 rounded-2xl border border-violet-100 bg-white px-4 text-base font-bold text-slate-900 outline-none transition focus:border-violet-300 focus:ring-4 focus:ring-violet-100"
|
||||
>
|
||||
<option v-for="role in roleOptions" :key="role.value" :value="role.value">
|
||||
<option v-for="role in assignableRoleOptions" :key="role.value" :value="role.value">
|
||||
{{ role.label }}
|
||||
</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user