Преглед на файлове

fix(AdvancedTable): Removed exact and regex filter types from numbers

Owen Diffey преди 3 години
родител
ревизия
4915811caa
променени са 3 файла, в които са добавени 7 реда и са изтрити 21 реда
  1. 2 6
      frontend/src/pages/Admin/tabs/Playlists.vue
  2. 4 12
      frontend/src/pages/Admin/tabs/Songs.vue
  3. 1 3
      frontend/src/pages/Admin/tabs/Users.vue

+ 2 - 6
frontend/src/pages/Admin/tabs/Playlists.vue

@@ -249,9 +249,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				},
@@ -264,9 +262,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				},

+ 4 - 12
frontend/src/pages/Admin/tabs/Songs.vue

@@ -542,9 +542,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				},
@@ -557,9 +555,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				},
@@ -572,9 +568,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				},
@@ -587,9 +581,7 @@ export default {
 						"numberLesser",
 						"numberGreater",
 						"numberGreaterEqual",
-						"numberEquals",
-						"exact",
-						"regex"
+						"numberEquals"
 					],
 					defaultFilterType: "numberLesser"
 				}

+ 1 - 3
frontend/src/pages/Admin/tabs/Users.vue

@@ -415,9 +415,7 @@ export default {
 							"numberLesser",
 							"numberGreater",
 							"numberGreaterEqual",
-							"numberEquals",
-							"exact",
-							"regex"
+							"numberEquals"
 						],
 						defaultFilterType: "numberLesser"
 					}