cleanup
This commit is contained in:
@@ -19,7 +19,6 @@ export class UmbUserGroupCollectionHeaderElement extends UmbLitElement {
|
||||
}
|
||||
|
||||
#onCreate() {
|
||||
//TODO Navigate to create workspace
|
||||
history.pushState(null, '', 'section/users/view/user-groups/user-group/create/');
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
UserGroupResource,
|
||||
UpdateUserGroupRequestModel,
|
||||
SaveUserGroupRequestModel,
|
||||
UserGroupBaseModel,
|
||||
} from '@umbraco-cms/backoffice/backend-api';
|
||||
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
||||
import { tryExecuteAndNotify } from '@umbraco-cms/backoffice/resources';
|
||||
@@ -28,6 +27,7 @@ export class UmbUserGroupServerDataSource implements UmbUserGroupDetailDataSourc
|
||||
this.#host = host;
|
||||
}
|
||||
|
||||
//TODO should parentId be optional in the generic interface?
|
||||
async createScaffold(parentId: string | null) {
|
||||
const data: SaveUserGroupRequestModel = {
|
||||
name: '',
|
||||
|
||||
@@ -16,8 +16,6 @@ export class UmbUserWorkspaceContext
|
||||
data = this.#data.asObservable();
|
||||
|
||||
async load(id: string) {
|
||||
console.log('load');
|
||||
|
||||
const { data } = await this.repository.requestById(id);
|
||||
if (data) {
|
||||
this.setIsNew(false);
|
||||
|
||||
Reference in New Issue
Block a user