Skip to content

Commit

Permalink
feat(generator): update v6 listing filter
Browse files Browse the repository at this point in the history
ref: MANAGER-15088

Signed-off-by: Alex Boungnaseng <[email protected]>
  • Loading branch information
aboungnaseng-ovhcloud committed Dec 2, 2024
1 parent 6d7c481 commit d5acc9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { FilterAdd, FilterList } from '../filters';
import { FilterWithLabel } from '../filters/interface';
import { DataGridTextCell } from './text-cell.component';
import './translations';
import { type } from 'os';

export type ColumnSort = TanstackColumnSort;
export type PaginationState = TanstackPaginationState;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ export default function Listing() {
navigate(`${path}${label}`);
};

// Code to remove
// Code to remove
const comparatorType = {
Number: FilterCategories.Numeric,
Date: FilterCategories.Date,
String: FilterCategories.String,
};


// Code to remove and declare definition columns in const variable
useEffect(() => {
if (columns.length === 0 && status === 'success' && flattenData?.length > 0) {
Expand Down

0 comments on commit d5acc9d

Please sign in to comment.