Skip to content

V17: Custom Workspace view not appearing correctly in the user & user group Workspace. #20548

@redmorello

Description

@redmorello

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.

@callumbwhyte

Incorrect:

Image

Correct:

Image

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions