Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriel Santiago <asantiago@gitlab.com>2019-06-04 20:55:52 +0300
committerFatih Acet <acetfatih@gmail.com>2019-06-04 20:55:52 +0300
commit57f6be00bcaa20287c696d67128655738d740b8b (patch)
tree7796036d0976a9205f37fd401e7e3f1d7eaa6bd9 /app/assets/javascripts/operation_settings/index.js
parent52b2b32517b3782cd009dc2a209c0eb274ddf3ce (diff)
Handle external dashboard form submission
Connect frontend UI with backend api for external dashboard link
Diffstat (limited to 'app/assets/javascripts/operation_settings/index.js')
-rw-r--r--app/assets/javascripts/operation_settings/index.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/assets/javascripts/operation_settings/index.js b/app/assets/javascripts/operation_settings/index.js
index 1171f3ece9f..6946578e6d2 100644
--- a/app/assets/javascripts/operation_settings/index.js
+++ b/app/assets/javascripts/operation_settings/index.js
@@ -1,4 +1,5 @@
import Vue from 'vue';
+import store from './store';
import ExternalDashboardForm from './components/external_dashboard.vue';
export default () => {
@@ -14,13 +15,9 @@ export default () => {
return new Vue({
el,
+ store: store(el.dataset),
render(createElement) {
- return createElement(ExternalDashboardForm, {
- props: {
- ...el.dataset,
- expanded: false,
- },
- });
+ return createElement(ExternalDashboardForm);
},
});
};