fix css and add refresh password

This commit is contained in:
2026-07-24 17:02:01 +07:00
parent c45b53e400
commit 18aa914497
4 changed files with 45 additions and 34 deletions
+6 -2
View File
@@ -58,7 +58,7 @@ async function deleteRole(userId: number, role: string) {
</n-tag>
</n-space>
</div>
<n-flex justify="end">
<n-flex justify="end" class="roles-buttons-block">
<n-button @click="addRole(user.id!, 'author')" v-if="!user.roles?.includes('author')">Сделать
автором</n-button>
@@ -80,7 +80,7 @@ async function deleteRole(userId: number, role: string) {
<style scoped>
.users-container {
padding: 40px 0;
padding-bottom: 20px;
}
.user-block {
@@ -93,4 +93,8 @@ async function deleteRole(userId: number, role: string) {
.user-field {
margin: 10px;
}
.roles-buttons-block {
margin-top: 20px;
}
</style>