fix(frontend): Fix bypass confirmation shortcut (#3527)

* fix(frontend): Fix bypass confirmation shortcut

* Update Item.svelte

---------

Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
This commit is contained in:
Faton Ramadani
2024-04-08 14:43:31 +02:00
committed by GitHub
parent 587824ccfa
commit db5abd37cd

View File

@@ -4,11 +4,12 @@
import RawAppRow from '../common/table/RawAppRow.svelte'
import ScriptRow from '../common/table/ScriptRow.svelte'
import ConfirmationModal from '../common/confirmationModal/ConfirmationModal.svelte'
import { Alert, Badge } from '$lib/components/common'
import { Alert } from '$lib/components/common'
import DeployWorkspaceDrawer from '../DeployWorkspaceDrawer.svelte'
import MoveDrawer from '../MoveDrawer.svelte'
import ShareModal from '../ShareModal.svelte'
import { createEventDispatcher } from 'svelte'
import { ArrowBigUp } from 'lucide-svelte'
export let item
export let depth: number = 0
@@ -107,7 +108,11 @@
<Alert type="info" title="Bypass confirmation">
<div>
You can press
<Badge color="dark-gray">SHIFT</Badge>
<span
class="inline-flex border rounded-md p-1 bg-blue-100 border-blue-200 dark:bg-blue-800 dark:border-blue-900 text-xs"
>
<ArrowBigUp size={18} />
</span>
while removing to bypass confirmation.
</div>
</Alert>