mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-13 13:58:05 +00:00
Diagram versioning (#560)
* clean up sidesheet * clean up sharing * add revisions sidesheet * update getCommits and clean up * update date localization * load diagram in read only mode from previous version * disable input from control panel and popovers * add restore warning modal * separate share and versions * update versions * finalize versioning implementation, add pagination * fix package-lock.json * clear versions cache on flush storgae * disable menubar items when in read only mode * disable remaining fields in readonlt * suppress eslint only-export-components rule * show loading version progress
This commit is contained in:
@@ -8,7 +8,7 @@ export default function Timeline() {
|
||||
|
||||
if (undoStack.length > 0) {
|
||||
return (
|
||||
<List className="sidesheet-theme">
|
||||
<List>
|
||||
{[...undoStack].reverse().map((e, i) => (
|
||||
<List.Item
|
||||
key={i}
|
||||
@@ -24,6 +24,6 @@ export default function Timeline() {
|
||||
</List>
|
||||
);
|
||||
} else {
|
||||
return <div className="m-5 sidesheet-theme">{t("no_activity")}</div>;
|
||||
return <div className="m-5">{t("no_activity")}</div>;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user