mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 11:50:56 +00:00
[UBER-350] Use drafts for creating issues from the list header (#3331)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@icloud.com>
This commit is contained in:
parent
792c35bcc1
commit
227b29d7bc
@ -32,6 +32,7 @@
|
||||
|
||||
const createItemDialog = CreateIssue
|
||||
const createItemLabel = tracker.string.AddIssueTooltip
|
||||
const createItemDialogProps = { shouldSaveDraft: true }
|
||||
</script>
|
||||
|
||||
{#if viewlet?.$lookup?.descriptor?.component}
|
||||
@ -45,6 +46,7 @@
|
||||
config: preference?.config ?? viewlet.config,
|
||||
options: viewlet.options,
|
||||
createItemDialog,
|
||||
createItemDialogProps,
|
||||
createItemLabel,
|
||||
viewlet,
|
||||
viewOptions,
|
||||
|
@ -16,6 +16,7 @@
|
||||
export let viewlet: Viewlet
|
||||
export let config: (string | BuildModelKey)[]
|
||||
export let createItemDialog: AnyComponent | undefined
|
||||
export let createItemDialogProps: Record<string, any> | undefined = undefined
|
||||
export let createItemLabel: IntlString | undefined
|
||||
export let viewOptions: ViewOptions
|
||||
export let props: Record<string, any> = {}
|
||||
@ -57,6 +58,7 @@
|
||||
{config}
|
||||
{options}
|
||||
{createItemDialog}
|
||||
{createItemDialogProps}
|
||||
{createItemLabel}
|
||||
{viewOptions}
|
||||
{props}
|
||||
|
Loading…
Reference in New Issue
Block a user