Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Dec 13, 2023
1 parent 5f325f0 commit c8ec490
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/common/dialog/RevisionsDialogContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
import { viewer } from "../../viewer/viewer.js";
import RevisionsDialog from "./RevisionsDialog.svelte";
const documentId = $viewer.document?.id;
const revisions = $viewer.document?.revisions;
const enabled = $viewer.document?.revision_control;
const document = $viewer.document;
const documentId = document?.id;
const revisions = document?.revisions;
const enabled = document?.revision_control;
console.log(document, documentId, revisions, enabled);
</script>

<RevisionsDialog {documentId} {revisions} {enabled} />

0 comments on commit c8ec490

Please sign in to comment.