-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Which Umbraco version are you using?
17.0.0-beta
Bug summary
When creating a custom workspace-view, and adding it to a section that doesn't have any other workspaces i.e the Users or User Group workspace, then the workspace-view doesn't appear correctly.
If you add the workspace-view to any other workspace where there are workspace-views already i.e Content, then the workspace gets added ok.
Incorrect:
Correct:
Specifics
No response
Steps to reproduce
Add a custom workspace to the Users section:
{
name: "Demo Backoffice Workspace View",
alias: "Demo.Backoffice.WorkspaceView",
type: "workspaceView",
js: () => import("./elements/example-workspace-view"),
meta: {
label: "Demo",
icon: "icon-users",
pathname: "demo"
},
conditions: [
{
alias: "Umb.Condition.WorkspaceAlias",
match: "Umb.Workspace.User"
}
]
}
Expected result / actual result
The workspace & icon should be displayed correctly.