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 e0ee029 commit 6e4e8e7
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions public/src/components/NoteEditor/NoteEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,29 +310,29 @@ export class NoteEditor extends ScReact.Component<NoteEditorProps, NoteEditorTyp
{/* hoverTooltip={"Синхронизированно"}/>*/}
{/*</div>*/}

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

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

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


<div className="collaborators-container">
Expand Down

0 comments on commit 6e4e8e7

Please sign in to comment.