fix(ui): remove buttons for bookmarks

This commit is contained in:
sylenien 2022-08-31 17:12:01 +02:00
parent 31daee4a20
commit e5f0fba037
2 changed files with 4 additions and 4 deletions

View file

@ -55,14 +55,14 @@ function SessionHeader(props: Props) {
</div>
</div>
<div className="flex items-center">
{!isBookmark && <SessionTags />}
{!isBookmark && <div className="flex items-center">
<SessionTags />
<div className="mx-4" />
<SelectDateRange period={period} onChange={onDateChange} right={true} />
<div className="mx-2" />
<SessionSort />
<SessionSettingButton />
</div>
</div>}
</div>
);
}

View file

@ -15,7 +15,7 @@ const sortOptions = Object.entries(sortOptionsMap).map(([value, label]) => ({ va
interface Props {
filter: any;
options: any;
options?: any;
applyFilter: (filter: any) => void;
sort: (sort: string, sign: number) => void;
}