Merge pull request #14307 from shariquerik/twice-include-theme-for-apps

This commit is contained in:
Suraj Shetty 2021-10-04 10:57:06 +05:30 committed by GitHub
commit 4c699ec335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,7 @@ frappe.ui.form.on("Website Theme", {
let $body = $("<div>").insertAfter($wrapper);
let ignored_apps = (frm.doc.ignored_apps || []).map(d => d.app);
frm.events.get_installed_apps(frm).then(apps => {
if (frm.app_theme_selector) return;
let form = new frappe.ui.FieldGroup({
fields: [
{