Enormous refactor adding IndexedDB space and syncing.
This commit is contained in:
@@ -33,6 +33,15 @@ export function TopBar({
|
||||
<FontAwesomeIcon icon={faFileLines} />
|
||||
</span>
|
||||
<span className="current-page">{prettyName(pageName)}</span>
|
||||
<button
|
||||
onClick={(e) => {
|
||||
// @ts-ignore
|
||||
window.syncer();
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>
|
||||
Sync
|
||||
</button>
|
||||
{notifications.length > 0 && (
|
||||
<div className="status">
|
||||
{notifications.map((notification) => (
|
||||
|
||||
Reference in New Issue
Block a user