Skip to content

Commit

Permalink
Debugging RevisionsDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Dec 13, 2023
1 parent 5ff74d1 commit aa2825c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/common/dialog/RevisionsDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import ErrorMessage from "../ErrorMessage.svelte";
import type { Revision } from "../RevisionIcon.svelte";
import RelativeTime from "../RelativeTime.svelte";
import { Sync16 } from "svelte-octicons";
import Loader from "../Loader.svelte";
export let enabled: boolean;
Expand All @@ -27,6 +26,7 @@
async function handleRevisionControlChange(event: Event) {
const checkbox = event.currentTarget as HTMLInputElement;
const value = checkbox.checked;
console.log(`Updating revision control for ${documentId} to ${value}`);
changeRevisionControl([documentId], value);
}
Expand Down Expand Up @@ -118,6 +118,9 @@
{/await}

<style>
.mcontent {
margin-bottom: 2rem;
}
header {
display: flex;
gap: 1em;
Expand Down

0 comments on commit aa2825c

Please sign in to comment.