Skip to content

Commit

Permalink
fix(workspace): Don't allow Welcome as default workspace
Browse files Browse the repository at this point in the history
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
(cherry picked from commit e3d00e9)
  • Loading branch information
cogk authored and mergify[bot] committed Mar 20, 2024
1 parent bfa1a83 commit 819a24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/core/doctype/user/user.js
Expand Up @@ -3,8 +3,8 @@ frappe.ui.form.on("User", {
frm.set_query("default_workspace", () => {
return {
filters: {
parent_page: ["is", "not set"],
for_user: ["in", [null, frappe.session.user]],
title: ["!=", "Welcome Workspace"],
},
};
});
Expand Down

0 comments on commit 819a24c

Please sign in to comment.