Skip to content

Commit

Permalink
Remove additionalActions from invocation export plugins
Browse files Browse the repository at this point in the history
It will be handled now by the wizard logic
  • Loading branch information
davelopez committed Sep 15, 2024
1 parent f6dd91d commit c27ec0b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import { library } from "@fortawesome/fontawesome-svg-core";
import { faDatabase } from "@fortawesome/free-solid-svg-icons";

import { type InvocationExportPlugin } from "@/components/Workflow/Invocation/Export/Plugins";

import SendForm from "./SendForm.vue";

library.add(faDatabase);

export const BIO_COMPUTE_OBJ_EXPORT_PLUGIN: InvocationExportPlugin = {
id: "bco",
title: "BioCompute Object",
Expand All @@ -25,15 +18,4 @@ Instructions for [creating a BCO using Galaxy](https://w3id.org/biocompute/tutor
includeDeleted: false,
includeHidden: false,
},
additionalActions: [
{
id: "send-to-bco-db",
title: "Send to BCODB",
icon: faDatabase,
run: (modal) => {
modal.showModal();
},
modal: SendForm,
},
],
};
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ export const DEFAULT_FILE_EXPORT_PLUGIN: InvocationExportPlugin = {
includeDeleted: false,
includeHidden: false,
},
additionalActions: [],
};
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ Learn more about [RO Crate](https://www.researchobject.org/ro-crate/).`,
includeDeleted: false,
includeHidden: false,
},
additionalActions: [],
};
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export interface InvocationExportPlugin {
markdownDescription: string;
/** The parameters to use when exporting the invocation. */
exportParams: ExportParams;
/** Any additional actions that can be taken in addition to the main export action. */
additionalActions: InvocationExportPluginAction[];
}

/**
Expand Down

0 comments on commit c27ec0b

Please sign in to comment.