Dont do full page reload when creating language from the entity action button
This commit is contained in:
committed by
Jacob Overgaard
parent
877274cac4
commit
0e7fca5363
@@ -8,8 +8,8 @@ export class UmbLanguageCreateEntityAction extends UmbEntityActionBase<UmbLangua
|
||||
super(host, repositoryAlias, unique);
|
||||
}
|
||||
|
||||
// TODO: Generate the href or retrieve it from something?
|
||||
async getHref() {
|
||||
return 'section/settings/workspace/language/create';
|
||||
async execute() {
|
||||
// TODO: Generate the href or retrieve it from something?
|
||||
history.pushState(null, '', `section/settings/workspace/language/create`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user