diff --git a/client/src/components/Grid/GridShared.vue b/client/src/components/Grid/GridShared.vue deleted file mode 100644 index 017beab7eae..00000000000 --- a/client/src/components/Grid/GridShared.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - - - diff --git a/client/src/components/Grid/configs/visualizationsPublished.ts b/client/src/components/Grid/configs/visualizationsPublished.ts index 60f0ffa9f74..90e3c2f5599 100644 --- a/client/src/components/Grid/configs/visualizationsPublished.ts +++ b/client/src/components/Grid/configs/visualizationsPublished.ts @@ -1,5 +1,5 @@ import { fetcher } from "@/api/schema"; -import Filtering, { contains, equals, expandNameTag, toBool, type ValidFilter } from "@/utils/filtering"; +import Filtering, { contains, expandNameTag, type ValidFilter } from "@/utils/filtering"; import { withPrefix } from "@/utils/redirect"; /** diff --git a/client/src/entry/analysis/router.js b/client/src/entry/analysis/router.js index 233787ef86d..76a285bc0e8 100644 --- a/client/src/entry/analysis/router.js +++ b/client/src/entry/analysis/router.js @@ -9,7 +9,6 @@ import DatasetError from "components/DatasetInformation/DatasetError"; import FormGeneric from "components/Form/FormGeneric"; import GridHistory from "components/Grid/GridHistory"; import GridList from "components/Grid/GridList"; -import GridShared from "components/Grid/GridShared"; import HistoryExportTasks from "components/History/Export/HistoryExport"; import HistoryPublished from "components/History/HistoryPublished"; import HistoryPublishedList from "components/History/HistoryPublishedList"; diff --git a/client/src/mvc/grid/grid-shared.js b/client/src/mvc/grid/grid-shared.js deleted file mode 100644 index 9c06c698317..00000000000 --- a/client/src/mvc/grid/grid-shared.js +++ /dev/null @@ -1,69 +0,0 @@ -/** This class renders the grid list with shared section. */ -import { getGalaxyInstance } from "app"; -import Backbone from "backbone"; -import $ from "jquery"; -import GridView from "mvc/grid/grid-view"; -import { getAppRoot } from "onload/loadConfig"; -import LoadingIndicator from "ui/loading-indicator"; -import _ from "underscore"; - -var View = Backbone.View.extend({ - initialize: function (options) { - var self = this; - const Galaxy = getGalaxyInstance(); - LoadingIndicator.markViewAsLoading(this); - this.model = new Backbone.Model(options); - this.item = this.model.get("item"); - this.title = this.model.get("plural"); - if (options && options.active_tab) { - this.active_tab = options.active_tab; - } - $.ajax({ - url: `${getAppRoot() + this.item}/${this.model.get("action_id")}?${$.param(Galaxy.params)}`, - success: function (response) { - self.model.set(response); - self.render(); - }, - }); - }, - - render: function () { - var grid = new GridView(this.model.attributes); - this.$el.empty().append(grid.$el); - this.$el.append(this._templateShared()); - }, - - _templateShared: function () { - var self = this; - var $tmpl = $(`
| Title | " + - "Owner | " + - "
|---|