Open a template from its cards even when a saved draft exists.
This commit is contained in:
1 parent
851133e56d
commit
55b071aa83
11 files changed
+326
-140
No files matched your search
@@ -336,6 +336,8 @@ function CreateFlowLayoutContent({
|
||||
replaceState,
|
||||
router,
|
||||
fromCreateWizard,
|
||||
signedIn: Boolean(sessionUser),
|
||||
requestConfirm,
|
||||
markCreateFlowInteraction,
|
||||
});
|
||||
const isCreateTemplatesPickerRoute =
|
||||
@@ -901,15 +903,25 @@ function CreateFlowLayoutContent({
|
||||
templateTitle={customizeDialog?.templateTitle ?? ""}
|
||||
valuesCount={customizeDialog?.valuesCount ?? 0}
|
||||
cardsCount={customizeDialog?.cardsCount ?? 0}
|
||||
initialTitle={typeof state.title === "string" ? state.title : ""}
|
||||
initialTitle={
|
||||
fromCreateWizard && state.templateReviewEntryFromCreateFlow === true
|
||||
? typeof state.title === "string"
|
||||
? state.title
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
initialDescription={
|
||||
typeof state.communityContext === "string"
|
||||
? state.communityContext
|
||||
fromCreateWizard && state.templateReviewEntryFromCreateFlow === true
|
||||
? typeof state.communityContext === "string"
|
||||
? state.communityContext
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
initialLocation={
|
||||
typeof state.communityLocation === "string"
|
||||
? state.communityLocation
|
||||
fromCreateWizard && state.templateReviewEntryFromCreateFlow === true
|
||||
? typeof state.communityLocation === "string"
|
||||
? state.communityLocation
|
||||
: ""
|
||||
: ""
|
||||
}
|
||||
onClose={closeCustomizeDialog}
|
||||
|
||||
Reference in new issue
Block a user