Create TableFilter component
Global TableFilter component and TableFilterMixin can be used
with any table. The TableFilterMixin will return filtered
data with items that match any of the filter tags.
When the table search component is built, it should use the
BoostrapVue Table :filter prop.
- Filter by status added to Sensors table
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I57ebab1686b2d267383cb0e1be252627bf42c98c
diff --git a/src/main.js b/src/main.js
index 4b0722e..5adc5ef 100644
--- a/src/main.js
+++ b/src/main.js
@@ -8,6 +8,7 @@
ButtonPlugin,
BVConfigPlugin,
CollapsePlugin,
+ DropdownPlugin,
FormPlugin,
FormCheckboxPlugin,
FormFilePlugin,
@@ -66,9 +67,13 @@
BFormTags: {
tagVariant: 'primary',
addButtonVariant: 'link-primary'
+ },
+ BBadge: {
+ variant: 'primary'
}
});
Vue.use(CollapsePlugin);
+Vue.use(DropdownPlugin);
Vue.use(FormPlugin);
Vue.use(FormCheckboxPlugin);
Vue.use(FormFilePlugin);