mirror of
https://github.com/usememos/memos.git
synced 2025-10-09 22:06:53 +08:00
fix: hidden priority
This commit is contained in:
parent
1733ed670c
commit
efb3fad194
3 changed files with 3 additions and 3 deletions
|
@ -100,7 +100,7 @@ const DailyMemoDiaryDialog: React.FC<Props> = (props: Props) => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<DatePicker
|
<DatePicker
|
||||||
className={`date-picker ${showDatePicker ? "" : "hidden"}`}
|
className={`date-picker ${showDatePicker ? "" : "!hidden"}`}
|
||||||
datestamp={currentDateStamp}
|
datestamp={currentDateStamp}
|
||||||
handleDateStampChange={handleDataPickerChange}
|
handleDateStampChange={handleDataPickerChange}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -14,7 +14,7 @@ const MemoFilter: React.FC<FilterProps> = () => {
|
||||||
const showFilter = Boolean(tagQuery || (duration && duration.from < duration.to) || memoType || textQuery || shortcut);
|
const showFilter = Boolean(tagQuery || (duration && duration.from < duration.to) || memoType || textQuery || shortcut);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={`filter-query-container ${showFilter ? "" : "hidden"}`}>
|
<div className={`filter-query-container ${showFilter ? "" : "!hidden"}`}>
|
||||||
<span className="tip-text">Filter:</span>
|
<span className="tip-text">Filter:</span>
|
||||||
<div
|
<div
|
||||||
className={"filter-item-container " + (shortcut ? "" : "hidden")}
|
className={"filter-item-container " + (shortcut ? "" : "hidden")}
|
||||||
|
|
|
@ -68,7 +68,7 @@ const Selector: React.FC<Props> = (props: Props) => {
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={`items-wrapper ${showSelector ? "" : "hidden"}`}>
|
<div className={`items-wrapper ${showSelector ? "" : "!hidden"}`}>
|
||||||
{dataSource.map((d) => {
|
{dataSource.map((d) => {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Add table
Reference in a new issue