Skip to content

Commit

Permalink
Fix document action modal title
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlasser committed Nov 26, 2024
1 parent 83e1645 commit cc5f775
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/components/sidebar/DocumentActions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Most actual actions are deferred to their own forms, so this is more of a switch
import Modal from "../layouts/Modal.svelte";
import Portal from "../layouts/Portal.svelte";
import SidebarItem from "./SidebarItem.svelte";
// forms
import ConfirmDelete from "../forms/ConfirmDelete.svelte";
Expand Down Expand Up @@ -92,7 +91,7 @@ Most actual actions are deferred to their own forms, so this is more of a switch
{#if visible}
<Portal>
<Modal on:close={close}>
<h1 slot="title">{actions[visible][0]}</h1>
<h1 slot="title">{$_(actions[visible][0])}</h1>

{#if visible === "share"}
<Share document={toShare} />
Expand Down

0 comments on commit cc5f775

Please sign in to comment.