diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-19 10:39:23 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-19 10:39:23 +0900 |
| commit | 02b6595d76bbe1e0cc256f2555d2b5e28f38f1ba (patch) | |
| tree | 918fce3bcae330457b30764cdafcfcbd31bacf54 /packages/frontend/src | |
| parent | feat(client): リアクション一覧詳細ダイアログを表示できる... (diff) | |
| download | misskey-02b6595d76bbe1e0cc256f2555d2b5e28f38f1ba.tar.gz misskey-02b6595d76bbe1e0cc256f2555d2b5e28f38f1ba.tar.bz2 misskey-02b6595d76bbe1e0cc256f2555d2b5e28f38f1ba.zip | |
:art:
Diffstat (limited to 'packages/frontend/src')
| -rw-r--r-- | packages/frontend/src/pages/admin/roles.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/pages/user-info.vue | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/admin/roles.vue b/packages/frontend/src/pages/admin/roles.vue index 6e0c038982..ff8f8a356f 100644 --- a/packages/frontend/src/pages/admin/roles.vue +++ b/packages/frontend/src/pages/admin/roles.vue @@ -7,7 +7,7 @@ <MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton> <MkFolder> <template #label>{{ i18n.ts._role.baseRole }}</template> - <div class="_gaps"> + <div class="_gaps_s"> <MkFolder> <template #label>{{ i18n.ts._role._options.rateLimitFactor }}</template> <template #suffix>{{ Math.floor(policies.rateLimitFactor * 100) }}%</template> diff --git a/packages/frontend/src/pages/user-info.vue b/packages/frontend/src/pages/user-info.vue index 13942da7c7..7ba8a3d16b 100644 --- a/packages/frontend/src/pages/user-info.vue +++ b/packages/frontend/src/pages/user-info.vue @@ -113,7 +113,8 @@ <div v-for="role in info.roles" :key="role.id" :class="$style.roleItem"> <MkRolePreview :class="$style.role" :role="role"/> - <button class="_button" :class="$style.roleUnassign" @click="unassignRole(role, $event)"><i class="ti ti-x"></i></button> + <button v-if="role.target === 'manual'" class="_button" :class="$style.roleUnassign" @click="unassignRole(role, $event)"><i class="ti ti-x"></i></button> + <button v-else class="_button" :class="$style.roleUnassign" disabled><i class="ti ti-ban"></i></button> </div> </div> </MkFolder> |