Apply suggestions from code review

Oops.

Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
This commit is contained in:
Dannon
2025-02-25 12:17:59 -05:00
committed by GitHub
co-authored by Marius van den Beek
parent 7a80a08dc7
commit de5e356864
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -72,7 +72,6 @@ export const useUserStore = defineStore("userStore", () => {
if (!loadPromise) {
loadPromise = new Promise<void>((resolve, reject) => {
(async () => {
console.debug("Loading once");
try {
const user = await getCurrentUser();
@@ -23,7 +23,6 @@ export const useWorkflowLandingStore = defineStore("workflowLanding", () => {
let claim;
let claimError;
console.debug("Claiming workflow");
if (isPublic) {
const { data, error } = await GalaxyApi().GET("/api/workflow_landings/{uuid}", {
params: {
@@ -46,7 +45,6 @@ export const useWorkflowLandingStore = defineStore("workflowLanding", () => {
}
if (claim) {
console.debug("CLaim!", claim);
claimState.value = {
workflowId: claim.workflow_id,
instance: claim.workflow_target_type === "workflow",
@@ -54,7 +52,6 @@ export const useWorkflowLandingStore = defineStore("workflowLanding", () => {
errorMessage: null,
};
} else {
console.debug("Claim error", claimError);
claimState.value = {
workflowId: null,
instance: false,