Commit efb3fad1 authored by boojack's avatar boojack

fix: hidden priority

parent 1733ed67
...@@ -100,7 +100,7 @@ const DailyMemoDiaryDialog: React.FC<Props> = (props: Props) => { ...@@ -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> = () => { ...@@ -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) => { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment