fix(ui): remove buttons for bookmarks
This commit is contained in:
parent
31daee4a20
commit
e5f0fba037
2 changed files with 4 additions and 4 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue