From 4bc129373067530bc67782837b8a44808ce5c1bc Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 18 Nov 2020 19:23:13 +0100 Subject: [PATCH] Run make client-format, replace clipboard icon with chain/link icon --- client/src/components/Sharing.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/src/components/Sharing.vue b/client/src/components/Sharing.vue index 48abb4c7b8a..1b389f6825f 100644 --- a/client/src/components/Sharing.vue +++ b/client/src/components/Sharing.vue @@ -31,7 +31,7 @@ - + {{ tooltipClipboard }} @@ -46,7 +46,7 @@
Access to this {{ model_class }} is currently restricted so that only you and the users listed below - can access it. Note that sharing a History will also allow access to all of its datasets. + can access it. Note that sharing a History will also allow access to all of its datasets.

@@ -82,7 +82,7 @@ import Vue from "vue"; import BootstrapVue from "bootstrap-vue"; import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; import { library } from "@fortawesome/fontawesome-svg-core"; -import { faClipboard, faEdit } from "@fortawesome/free-regular-svg-icons"; +import { faLink, faEdit } from "@fortawesome/free-solid-svg-icons"; import { getAppRoot } from "onload/loadConfig"; import { getGalaxyInstance } from "app"; import SlugInput from "components/Common/SlugInput"; @@ -90,7 +90,7 @@ import axios from "axios"; Vue.use(BootstrapVue); -library.add(faClipboard); +library.add(faLink); library.add(faEdit); export default { @@ -201,14 +201,14 @@ export default { if (importable) { this.setSharing("make_accessible_via_link"); if (this.item.published) { - this.setSharing('publish'); + this.setSharing("publish"); } else { - this.setSharing('unpublish'); + this.setSharing("unpublish"); } } else { this.item.published = false; this.setSharing("disable_link_access"); - this.setSharing('unpublish'); + this.setSharing("unpublish"); } }, onPublish(published) { @@ -216,7 +216,7 @@ export default { this.item.importable = true; this.setSharing("make_accessible_and_publish"); } else { - this.setSharing('unpublish'); + this.setSharing("unpublish"); } }, getModel() {