chore(frontend): ui tweak
This commit is contained in:
parent
053e7626e4
commit
eef7fcdd45
@ -416,7 +416,7 @@ async function assignRole() {
|
|||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
|
|
||||||
const { canceled: canceled2, result: period } = await os.select({
|
const { canceled: canceled2, result: period } = await os.select({
|
||||||
title: i18n.ts.period,
|
title: i18n.ts.period + ': ' + roles.find(r => r.id === roleId)!.name,
|
||||||
items: [{
|
items: [{
|
||||||
value: 'indefinitely', text: i18n.ts.indefinitely,
|
value: 'indefinitely', text: i18n.ts.indefinitely,
|
||||||
}, {
|
}, {
|
||||||
|
@ -119,7 +119,7 @@ async function assign() {
|
|||||||
const user = await os.selectUser({ includeSelf: true });
|
const user = await os.selectUser({ includeSelf: true });
|
||||||
|
|
||||||
const { canceled: canceled2, result: period } = await os.select({
|
const { canceled: canceled2, result: period } = await os.select({
|
||||||
title: i18n.ts.period,
|
title: i18n.ts.period + ': ' + role.name,
|
||||||
items: [{
|
items: [{
|
||||||
value: 'indefinitely', text: i18n.ts.indefinitely,
|
value: 'indefinitely', text: i18n.ts.indefinitely,
|
||||||
}, {
|
}, {
|
||||||
|
@ -272,7 +272,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
|||||||
text: r.name,
|
text: r.name,
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const { canceled, result: period } = await os.select({
|
const { canceled, result: period } = await os.select({
|
||||||
title: i18n.ts.period,
|
title: i18n.ts.period + ': ' + r.name,
|
||||||
items: [{
|
items: [{
|
||||||
value: 'indefinitely', text: i18n.ts.indefinitely,
|
value: 'indefinitely', text: i18n.ts.indefinitely,
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user