mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 02:56:43 -06:00
🎨
This commit is contained in:
parent
336d8fe785
commit
02b6595d76
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
<MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton>
|
<MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton>
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #label>{{ i18n.ts._role.baseRole }}</template>
|
<template #label>{{ i18n.ts._role.baseRole }}</template>
|
||||||
<div class="_gaps">
|
<div class="_gaps_s">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #label>{{ i18n.ts._role._options.rateLimitFactor }}</template>
|
<template #label>{{ i18n.ts._role._options.rateLimitFactor }}</template>
|
||||||
<template #suffix>{{ Math.floor(policies.rateLimitFactor * 100) }}%</template>
|
<template #suffix>{{ Math.floor(policies.rateLimitFactor * 100) }}%</template>
|
||||||
|
|
|
@ -113,7 +113,8 @@
|
||||||
|
|
||||||
<div v-for="role in info.roles" :key="role.id" :class="$style.roleItem">
|
<div v-for="role in info.roles" :key="role.id" :class="$style.roleItem">
|
||||||
<MkRolePreview :class="$style.role" :role="role"/>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
Loading…
Reference in a new issue