This is an automated email from the ASF dual-hosted git repository.

andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git


The following commit(s) were added to refs/heads/main by this push:
     new d18a6a9  ARTEMIS-5408 - Filters now default to Name and Contains
d18a6a9 is described below

commit d18a6a9f2d442d3834210e2be26d37ff41d0163a
Author: GChuf <[email protected]>
AuthorDate: Sun Apr 13 11:21:37 2025 +0200

    ARTEMIS-5408 - Filters now default to Name and Contains
---
 .../src/artemis-extension/artemis/table/ArtemisTable.tsx              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
 
b/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
index 59799f3..feb90fe 100644
--- 
a/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
+++ 
b/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
@@ -95,9 +95,9 @@ export type TableData = {
 export const ArtemisTable: React.FunctionComponent<TableData> = broker => {
 
 const operationOptions = [
-    { id: 'EQUALS', name: 'Equals' },
     { id: 'CONTAINS', name: 'Contains' },
     { id: 'NOT_CONTAINS', name: 'Does Not Contain' },
+    { id: 'EQUALS', name: 'Equals' },
     { id: 'GREATER_THAN', name: 'Greater Than' },
     { id: 'LESS_THAN', name: 'Less Than' }
   ]
@@ -117,7 +117,7 @@ const operationOptions = [
   const [page, setPage] = useState(1);
   const [perPage, setPerPage] = useState(10);
   const initialFilter: Filter = {
-    column: columns[0].id,
+    column: columns[1].id,
     operation: operationOptions[0].id,
     input: ''
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to