diff --git a/package-lock.json b/package-lock.json index 6e2deb1c7..a2745dd62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17094,6 +17094,11 @@ } } }, + "url-search-params-polyfill": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/url-search-params-polyfill/-/url-search-params-polyfill-7.0.0.tgz", + "integrity": "sha512-0SEH3s+wCNbxEE/rWUalN004ICNi23Q74Ksc0gS2kG8EXnbayxGOrV97JdwnIVPKZ75Xk0hvKXvtIC4xReLMgg==" + }, "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", diff --git a/package.json b/package.json index 6dfe3ccf4..82811423b 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "nextcloud-axios": "^0.2.1", "nextcloud-server": "^0.15.10", "nextcloud-vue-collections": "^0.6.0", + "url-search-params-polyfill": "^7.0.0", "vue": "^2.6.7", "vue-click-outside": "^1.0.7", "vue-color": "^2.7.0", diff --git a/src/store/main.js b/src/store/main.js index 15ad482e9..0795b6cd4 100644 --- a/src/store/main.js +++ b/src/store/main.js @@ -20,6 +20,8 @@ * */ +import 'url-search-params-polyfill'; + import Vue from 'vue' import Vuex from 'vuex' import axios from 'nextcloud-axios'