fix(webform): respect context banner_image (#37688)
This commit is contained in:
parent
34db776bc5
commit
26dddcb9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ def get_context(context):
|
|||
context.boot = get_boot_data()
|
||||
context.boot["link_title_doctypes"] = frappe.boot.get_link_title_doctypes()
|
||||
|
||||
context.webform_banner_image = self.banner_image
|
||||
context.webform_banner_image = context.get("banner_image") or self.banner_image
|
||||
context.pop("banner_image", None)
|
||||
|
||||
def add_metatags(self, context):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue