Skip to content

Commit

Permalink
Добавил кэширование фоток в заметке
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikMix committed May 16, 2024
1 parent 6c43826 commit 149417e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions public/src/components/NoteEditor/NoteEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,22 @@ export class NoteEditor extends ScReact.Component<NoteEditorProps, NoteEditorTyp

</div>

<div className={"note-save-indicator " + (this.state.noteStatus == "saved" ? "active" : "")}>
<Tooltip icon={"check.svg"}
showHoverTooltip={true}
hoverTooltip={"Сохранено"}/>
</div>

{this.state.noteStatus == "sync" ?
<div
className={"note-save-indicator " + (this.state.noteStatus == "sync" ? "active" : "hidden")}>
<Tooltip icon={"sync.svg"}
showHoverTooltip={true}
hoverTooltip={"Синхронизированно"}/>
</div>
:
<div
className={"note-save-indicator " + (this.state.noteStatus == "saved" ? "active" : "hidden")}>
<Tooltip icon={"check.svg"}
showHoverTooltip={true}
hoverTooltip={"Сохранено"}/>
</div>
}

<div className={"note-save-indicator " + (this.state.noteStatus == "sync" ? "active" : "")}>
<Tooltip icon={"sync.svg"}
showHoverTooltip={true}
hoverTooltip={"Синхронизированно"}/>
</div>

{/*<div>*/}
{/* {*/}
Expand Down

0 comments on commit 149417e

Please sign in to comment.