replaced ti-id
This commit is contained in:
parent
dfc5cbd5d7
commit
e84844b4ae
|
@ -274,7 +274,7 @@ function onContextmenu(ev: MouseEvent) {
|
||||||
}];
|
}];
|
||||||
if (defaultStore.state.devMode) {
|
if (defaultStore.state.devMode) {
|
||||||
menu = menu.concat([{ type: 'divider' }, {
|
menu = menu.concat([{ type: 'divider' }, {
|
||||||
icon: 'ph-identification-card ph-bold ph-lg',
|
icon: 'ti ti-id',
|
||||||
text: i18n.ts.copyFolderId,
|
text: i18n.ts.copyFolderId,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(props.folder.id);
|
copyToClipboard(props.folder.id);
|
||||||
|
|
|
@ -128,7 +128,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
|
||||||
|
|
||||||
if (defaultStore.state.devMode) {
|
if (defaultStore.state.devMode) {
|
||||||
menu = menu.concat([{ type: 'divider' }, {
|
menu = menu.concat([{ type: 'divider' }, {
|
||||||
icon: 'ph-identification-card ph-bold ph-lg',
|
icon: 'ti ti-id',
|
||||||
text: i18n.ts.copyFileId,
|
text: i18n.ts.copyFileId,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(file.id);
|
copyToClipboard(file.id);
|
||||||
|
|
|
@ -505,7 +505,7 @@ export function getNoteMenu(props: {
|
||||||
|
|
||||||
if (defaultStore.state.devMode) {
|
if (defaultStore.state.devMode) {
|
||||||
menu = menu.concat([{ type: "divider" }, {
|
menu = menu.concat([{ type: "divider" }, {
|
||||||
icon: 'ph-identification-card ph-bold ph-lg',
|
icon: 'ti ti-id',
|
||||||
text: i18n.ts.copyNoteId,
|
text: i18n.ts.copyNoteId,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(appearNote.id);
|
copyToClipboard(appearNote.id);
|
||||||
|
|
|
@ -354,7 +354,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
||||||
|
|
||||||
if (defaultStore.state.devMode) {
|
if (defaultStore.state.devMode) {
|
||||||
menu = menu.concat([{ type: 'divider' }, {
|
menu = menu.concat([{ type: 'divider' }, {
|
||||||
icon: 'ph-identification-card ph-bold ph-lg',
|
icon: 'ti ti-id',
|
||||||
text: i18n.ts.copyUserId,
|
text: i18n.ts.copyUserId,
|
||||||
action: () => {
|
action: () => {
|
||||||
copyToClipboard(user.id);
|
copyToClipboard(user.id);
|
||||||
|
|
|
@ -181,6 +181,7 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
|
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
|
||||||
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
|
'ti ti-forms': 'ph-textbox ph-bold ph-lg',
|
||||||
'ti ti-trash': 'ph-trash ph-bold ph-lg',
|
'ti ti-trash': 'ph-trash ph-bold ph-lg',
|
||||||
|
'ti ti-id': 'ph-identification-card ph-bold ph-lg',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
...process.env.NODE_ENV === 'production'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in New Issue