@@ -76,10 +76,10 @@ import {
7676 useVIntl ,
7777} from ' @modrinth/ui'
7878import { ContentCardLayout as ContentPageLayout } from ' @modrinth/ui'
79- import { useDebounceFn } from ' @vueuse/core'
8079import { getCurrentWebview } from ' @tauri-apps/api/webview'
8180import { open } from ' @tauri-apps/plugin-dialog'
8281import { openUrl } from ' @tauri-apps/plugin-opener'
82+ import { useDebounceFn } from ' @vueuse/core'
8383import { computed , nextTick , onUnmounted , ref , watch } from ' vue'
8484import { useRouter } from ' vue-router'
8585
@@ -699,8 +699,10 @@ provideContentManager({
699699 getItemId : (item ) => item .file_name ,
700700 contentTypeLabel: ref (formatMessage (messages .contentTypeProject )),
701701 toggleEnabled: toggleDisableMod ,
702- bulkEnableItems : (items ) => Promise .all (items .map ((item ) => toggleDisableMod (item ))).then (() => {}),
703- bulkDisableItems : (items ) => Promise .all (items .map ((item ) => toggleDisableMod (item ))).then (() => {}),
702+ bulkEnableItems : (items ) =>
703+ Promise .all (items .map ((item ) => toggleDisableMod (item ))).then (() => {}),
704+ bulkDisableItems : (items ) =>
705+ Promise .all (items .map ((item ) => toggleDisableMod (item ))).then (() => {}),
704706 deleteItem: removeMod ,
705707 bulkDeleteItems : (items ) => Promise .all (items .map ((item ) => removeMod (item ))).then (() => {}),
706708 refresh : () => initProjects (' must_revalidate' ),
@@ -725,17 +727,16 @@ provideContentManager({
725727 title: item .file_name .replace (' .disabled' , ' ' ),
726728 icon_url: null ,
727729 },
728- projectLink: item .project ?.id
729- ? ` /project/${item .project .id } `
730- : undefined ,
730+ projectLink: item .project ?.id ? ` /project/${item .project .id } ` : undefined ,
731731 version: item .version ?? {
732732 id: item .file_name ,
733733 version_number: formatMessage (messages .unknownVersion ),
734734 file_name: item .file_name ,
735735 },
736- versionLink: item .project ?.id && item .version ?.id
737- ? ` /project/${item .project .id }/version/${item .version .id } `
738- : undefined ,
736+ versionLink:
737+ item .project ?.id && item .version ?.id
738+ ? ` /project/${item .project .id }/version/${item .version .id } `
739+ : undefined ,
739740 owner: item .owner
740741 ? {
741742 ... item .owner ,
0 commit comments