replaced ti-id

This commit is contained in:
dakkar 2024-06-21 17:17:26 +01:00
parent dfc5cbd5d7
commit e84844b4ae
5 changed files with 5 additions and 4 deletions

View file

@ -274,7 +274,7 @@ function onContextmenu(ev: MouseEvent) {
}];
if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg',
icon: 'ti ti-id',
text: i18n.ts.copyFolderId,
action: () => {
copyToClipboard(props.folder.id);

View file

@ -128,7 +128,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg',
icon: 'ti ti-id',
text: i18n.ts.copyFileId,
action: () => {
copyToClipboard(file.id);

View file

@ -505,7 +505,7 @@ export function getNoteMenu(props: {
if (defaultStore.state.devMode) {
menu = menu.concat([{ type: "divider" }, {
icon: 'ph-identification-card ph-bold ph-lg',
icon: 'ti ti-id',
text: i18n.ts.copyNoteId,
action: () => {
copyToClipboard(appearNote.id);

View file

@ -354,7 +354,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg',
icon: 'ti ti-id',
text: i18n.ts.copyUserId,
action: () => {
copyToClipboard(user.id);

View file

@ -181,6 +181,7 @@ export function getConfig(): UserConfig {
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
'ti ti-forms': 'ph-textbox 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'