replaced ti-app-window

This commit is contained in:
dakkar 2024-06-21 17:08:40 +01:00
parent 20aff7dd74
commit cf9e5d72e0
3 changed files with 3 additions and 2 deletions

View file

@ -255,7 +255,7 @@ function onContextmenu(ev: MouseEvent) {
let menu: MenuItem[]; let menu: MenuItem[];
menu = [{ menu = [{
text: i18n.ts.openInWindow, text: i18n.ts.openInWindow,
icon: 'ph-app-window ph-bold ph-lg', icon: 'ti ti-app-window',
action: () => { action: () => {
os.popup(defineAsyncComponent(() => import('@/components/MkDriveWindow.vue')), { os.popup(defineAsyncComponent(() => import('@/components/MkDriveWindow.vue')), {
initialFolder: props.folder, initialFolder: props.folder,

View file

@ -55,7 +55,7 @@ function onContextmenu(ev) {
type: 'label', type: 'label',
text: props.to, text: props.to,
}, { }, {
icon: 'ph-app-window ph-bold ph-lg', icon: 'ti ti-app-window',
text: i18n.ts.openInWindow, text: i18n.ts.openInWindow,
action: () => { action: () => {
os.pageWindow(props.to); os.pageWindow(props.to);

View file

@ -178,6 +178,7 @@ export function getConfig(): UserConfig {
'ti ti-x': 'ph-x ph-bold ph-lg', 'ti ti-x': 'ph-x ph-bold ph-lg',
'ti ti-folder': 'ph-folder ph-bold ph-lg', 'ti ti-folder': 'ph-folder ph-bold ph-lg',
'ti ti-folder-plus': 'ph-folder-plus ph-bold ph-lg', 'ti ti-folder-plus': 'ph-folder-plus ph-bold ph-lg',
'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
}, },
}), }),
...process.env.NODE_ENV === 'production' ...process.env.NODE_ENV === 'production'