mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +00:00
replaced ti-id
This commit is contained in:
parent
dfc5cbd5d7
commit
e84844b4ae
5 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue