summaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-05-18 19:49:37 +0300
committerDerick Montague <derick.montague@ibm.com>2020-06-13 07:49:18 +0300
commit68bbba296c6f99b81d2882e1fef6f37cf4a6bb51 (patch)
treef07d9fef5079ef7e9728bcbfc71a4dd3e5cc5aa3 /src/main.js
parent71724befc716d373e2fd6396fcd6934277f38f66 (diff)
downloadwebui-vue-68bbba296c6f99b81d2882e1fef6f37cf4a6bb51.tar.xz
Add date filter on Event logs page
Created global TableDateFilter component that uses the BootstrapVue Datepicker with a native text input. This will allow users to manually enter a date in ISO format or use the Bootstrap calendar dropdown. Storing language preference from Login to use locale prop on BootstrapVue Datepicker component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I66de9fb04451572c9a90f90d8522934b6204aed2
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js
index 6896ec2f..0c6d5b07 100644
--- a/src/main.js
+++ b/src/main.js
@@ -11,6 +11,7 @@ import {
DropdownPlugin,
FormPlugin,
FormCheckboxPlugin,
+ FormDatepickerPlugin,
FormFilePlugin,
FormGroupPlugin,
FormInputPlugin,
@@ -74,6 +75,7 @@ Vue.use(CollapsePlugin);
Vue.use(DropdownPlugin);
Vue.use(FormPlugin);
Vue.use(FormCheckboxPlugin);
+Vue.use(FormDatepickerPlugin);
Vue.use(FormFilePlugin);
Vue.use(FormGroupPlugin);
Vue.use(FormInputPlugin);