mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Apply suggestions from code review
Oops. Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
This commit is contained in:
co-authored by
Marius van den Beek
parent
7a80a08dc7
commit
de5e356864
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user