diff --git a/client/package.json b/client/package.json index 2d9ef77b1ac..509f0468153 100644 --- a/client/package.json +++ b/client/package.json @@ -66,7 +66,7 @@ "markdown-it": "^12.3.2", "markdown-it-regexp": "^0.4.0", "object-hash": "^3.0.0", - "pinia": "^2.0.17", + "pinia": "^2.0.23", "popper.js": "^1.16.1", "pretty-bytes": "^6.0.0", "pyre-to-regexp": "^0.0.5", diff --git a/client/src/components/Workflow/InvocationsList.test.js b/client/src/components/Workflow/InvocationsList.test.js index 8291821de81..eba495d7806 100644 --- a/client/src/components/Workflow/InvocationsList.test.js +++ b/client/src/components/Workflow/InvocationsList.test.js @@ -6,7 +6,7 @@ import { getLocalVue } from "jest/helpers"; import mockInvocationData from "./test/json/invocation.json"; import { parseISO, formatDistanceToNow } from "date-fns"; -import { createPinia }from "pinia"; +import { createPinia } from "pinia"; import "jest-location-mock"; @@ -55,7 +55,7 @@ describe("InvocationsList.vue", () => { wrapper = mount(InvocationsList, { propsData, localVue, - pinia + pinia, }); }); @@ -75,7 +75,7 @@ describe("InvocationsList.vue", () => { wrapper = mount(InvocationsList, { propsData, localVue, - pinia + pinia, }); }); @@ -118,7 +118,7 @@ describe("InvocationsList.vue", () => { }, }, localVue, - pinia + pinia, }); }); diff --git a/client/src/components/Workflow/InvocationsList.vue b/client/src/components/Workflow/InvocationsList.vue index 429f7fdcfa1..ed1cd2fc9ad 100644 --- a/client/src/components/Workflow/InvocationsList.vue +++ b/client/src/components/Workflow/InvocationsList.vue @@ -128,7 +128,11 @@ export default { }; }, computed: { - ...mapState(useWorkflowStore, ["getWorkflowNameByInstanceId", "getWorkflowByInstanceId", "getStoredWorkflowIdByInstanceId"]), + ...mapState(useWorkflowStore, [ + "getWorkflowNameByInstanceId", + "getWorkflowByInstanceId", + "getStoredWorkflowIdByInstanceId", + ]), ...mapGetters("history", ["getHistoryById", "getHistoryNameById"]), title() { let title = `Workflow Invocations`; diff --git a/client/src/stores/workflowStore.js b/client/src/stores/workflowStore.js index 6393244b4e0..5ba6400e1fe 100644 --- a/client/src/stores/workflowStore.js +++ b/client/src/stores/workflowStore.js @@ -35,7 +35,7 @@ export const useWorkflowStore = defineStore("workflowStore", { console.debug("Fetching workflow details for", workflowId); const params = { instance: "true" }; const { data } = await axios.get(`${getAppRoot()}api/workflows/${workflowId}`, { params }); - this.$patch(state => { + this.$patch((state) => { state.workflowsByInstanceId[workflowId] = data; }); }, diff --git a/client/yarn.lock b/client/yarn.lock index 06b3267b929..2b98dbf74bf 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -1981,10 +1981,10 @@ optionalDependencies: prettier "^1.18.2 || ^2.0.0" -"@vue/devtools-api@^6.2.1": - version "6.2.1" - resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.2.1.tgz#6f2948ff002ec46df01420dfeff91de16c5b4092" - integrity sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ== +"@vue/devtools-api@^6.4.4": + version "6.4.4" + resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.4.4.tgz#0b024fc8ca91bb4b6035abaf53c5aecc17119b3b" + integrity sha512-Ku31WzpOV/8cruFaXaEZKF81WkNnvCSlBY4eOGtz5WMSdJvX1v1WWlSMGZeqUwPtQ27ZZz7B62erEMq8JDjcXw== "@vue/test-utils@^1.3.0": version "1.3.0" @@ -7742,12 +7742,12 @@ pikaday@1.5.1: optionalDependencies: moment "2.x" -pinia@^2.0.17: - version "2.0.17" - resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.0.17.tgz#f925e5e4f73c15e16dfb4838176a9ca50752f26b" - integrity sha512-AtwLwEWQgIjofjgeFT+nxbnK5lT2QwQjaHNEDqpsi2AiCwf/NY78uWTeHUyEhiiJy8+sBmw0ujgQMoQbWiZDfA== +pinia@^2.0.23: + version "2.0.23" + resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.0.23.tgz#570f5f82160b656b412602789683faa95502d227" + integrity sha512-N15hFf4o5STrxpNrib1IEb1GOArvPYf1zPvQVRGOO1G1d74Ak0J0lVyalX/SmrzdT4Q0nlEFjbURsmBmIGUR5Q== dependencies: - "@vue/devtools-api" "^6.2.1" + "@vue/devtools-api" "^6.4.4" vue-demi "*" pinkie-promise@^2.0.0: