From 75ab1ddf848e3da54df445c577613d1d6ea545cf Mon Sep 17 00:00:00 2001 From: Evan Song Date: Sat, 7 Dec 2024 18:36:26 -0700 Subject: [PATCH] fix: do not consider backup limit in reinstall prompt Signed-off-by: Evan Song --- apps/frontend/src/pages/servers/manage/[id]/options/loader.vue | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/pages/servers/manage/[id]/options/loader.vue b/apps/frontend/src/pages/servers/manage/[id]/options/loader.vue index 18781fc64..06273a94e 100644 --- a/apps/frontend/src/pages/servers/manage/[id]/options/loader.vue +++ b/apps/frontend/src/pages/servers/manage/[id]/options/loader.vue @@ -272,6 +272,7 @@ const backupServer = ref(false); const isError = computed(() => props.server.general?.status === "error"); const isDangerous = computed(() => hardReset.value); +// eslint-disable-next-line @typescript-eslint/no-unused-vars const isBackupLimited = computed(() => (props.server.backups?.data?.length || 0) >= 15); const versionStrings = ["forge", "fabric", "quilt", "neo"] as const; @@ -318,7 +319,6 @@ const mrpackModal = ref(); const canInstall = computed(() => { const conds = !selectedMCVersion.value || - isBackupLimited.value || isLoading.value || loadingServerCheck.value || serverCheckError.value.trim().length > 0; diff --git a/package.json b/package.json index be16cf3f9..ee9ec0373 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "turbo": "^2.2.3", "vue": "^3.4.31" }, - "packageManager": "pnpm@9.4.0", + "packageManager": "pnpm@9.15.0", "pnpm": { "patchedDependencies": { "readable-stream@2.3.8": "patches/readable-stream@2.3.8.patch"