fix issue where alias should be a string
This commit is contained in:
@@ -4,10 +4,9 @@ import { UmbControllerInterface } from './controller.interface';
|
||||
export abstract class UmbController implements UmbControllerInterface {
|
||||
protected host?: UmbControllerHostInterface;
|
||||
|
||||
|
||||
private _alias?: string;
|
||||
public get unique() {
|
||||
return this._alias;
|
||||
return this._alias ?? UmbController.name;
|
||||
}
|
||||
|
||||
constructor(host: UmbControllerHostInterface, alias?: string) {
|
||||
|
||||
Reference in New Issue
Block a user