Unverified Commit de5e3568 authored by Dannon's avatar Dannon Committed by GitHub
Browse files

Apply suggestions from code review

parent 7a80a08d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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();

+0 −3
Original line number Diff line number Diff line
@@ -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,