Refator/sorts dropdown (#1568)

* WIP

* Fixed lint

* Ok for sorts

* Fixed on dropdown toggle

* Fix lint
This commit is contained in:
Lucas Bordeau
2023-09-14 01:38:11 +02:00
committed by GitHub
parent a392a81994
commit 8627416d60
55 changed files with 339 additions and 309 deletions

View File

@ -5,10 +5,9 @@ import {
IconMap,
IconUsers,
} from '@/ui/icon/index';
import { SortType } from '@/ui/view-bar/types/interface';
import { CompanyOrderByWithRelationInput as Companies_Order_By } from '~/generated/graphql';
import { SortDefinition } from '@/ui/view-bar/types/SortDefinition';
export const availableSorts: SortType<Companies_Order_By>[] = [
export const companyAvailableSorts: SortDefinition[] = [
{
key: 'name',
label: 'Name',