Переглянути джерело

fix: 'TopBarItem' object does not support item assignment #17926 (#17927)

TypeError: 'TopBarItem' object does not support item assignment
(cherry picked from commit 9358655ae2)

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
version-14
mergify[bot] 2 роки тому
committed by GitHub
джерело
коміт
7af2b19fd1
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      frappe/website/doctype/website_settings/website_settings.py

+ 1
- 1
frappe/website/doctype/website_settings/website_settings.py Переглянути файл

@@ -218,7 +218,7 @@ def modify_header_footer_items(items: list):
continue

if not top_bar_item.get("child_items"):
top_bar_item["child_items"] = []
top_bar_item.child_items = []

top_bar_item.child_items.append(item)
break


Завантаження…
Відмінити
Зберегти