You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -1398,7 +1398,7 @@ try {
|
||||
|
||||
versions = shallowRef(toRaw(versions));
|
||||
featuredVersions = shallowRef(toRaw(featuredVersions));
|
||||
} catch (error) {
|
||||
} catch {
|
||||
throw createError({
|
||||
fatal: true,
|
||||
statusCode: 404,
|
||||
|
||||
@@ -95,7 +95,7 @@ const props = defineProps<{
|
||||
members: User[];
|
||||
currentMember: User;
|
||||
dependencies: Dependency[];
|
||||
resetProject: Function;
|
||||
resetProject: (opts?: { dedupe?: "cancel" | "defer" }) => Promise<void>;
|
||||
}>();
|
||||
|
||||
const version = computed(() => {
|
||||
|
||||
@@ -195,7 +195,7 @@ const onAuthorize = async () => {
|
||||
}
|
||||
|
||||
throw new Error(formatMessage(messages.noRedirectUrlError));
|
||||
} catch (error) {
|
||||
} catch {
|
||||
data.$notify({
|
||||
group: "main",
|
||||
title: formatMessage(commonMessages.errorNotificationTitle),
|
||||
@@ -222,7 +222,7 @@ const onReject = async () => {
|
||||
}
|
||||
|
||||
throw new Error(formatMessage(messages.noRedirectUrlError));
|
||||
} catch (error) {
|
||||
} catch {
|
||||
data.$notify({
|
||||
group: "main",
|
||||
title: formatMessage(commonMessages.errorNotificationTitle),
|
||||
|
||||
@@ -145,7 +145,7 @@ if (route.query.flow) {
|
||||
await useAuth(auth.value.token);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
} catch {
|
||||
success.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -556,7 +556,7 @@ async function verifyTwoFactorCode() {
|
||||
backupCodes.value = res.backup_codes;
|
||||
twoFactorStep.value = 2;
|
||||
await useAuth(auth.value.token);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
twoFactorIncorrect.value = true;
|
||||
}
|
||||
stopLoading();
|
||||
@@ -573,7 +573,7 @@ async function removeTwoFactor() {
|
||||
});
|
||||
manageTwoFactorModal.value.hide();
|
||||
await useAuth(auth.value.token);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
twoFactorIncorrect.value = true;
|
||||
}
|
||||
stopLoading();
|
||||
|
||||
@@ -301,7 +301,7 @@ const canSubmit = computed(() => {
|
||||
const url = new URL(uri);
|
||||
return !!url;
|
||||
});
|
||||
} catch (err) {
|
||||
} catch {
|
||||
allValid = false;
|
||||
}
|
||||
return filledIn && (oneValid || allValid);
|
||||
|
||||
@@ -226,7 +226,7 @@ async function changeLocale(value: string) {
|
||||
try {
|
||||
await vintl.changeLocale(value);
|
||||
$failedLocale.value = undefined;
|
||||
} catch (err) {
|
||||
} catch {
|
||||
$failedLocale.value = value;
|
||||
} finally {
|
||||
$changingTo.value = undefined;
|
||||
|
||||
Reference in New Issue
Block a user