stil sort on extension slot
This commit is contained in:
@@ -97,8 +97,7 @@ export class UmbExtensionSlotElement extends UmbLitElement {
|
||||
|
||||
// sort:
|
||||
// TODO: Make sure its right to have highest last?
|
||||
// should not sort here, its done by registry:
|
||||
//this._extensions.sort((a, b) => a.weight - b.weight);
|
||||
this._extensions.sort((a, b) => b.weight - a.weight);
|
||||
} else {
|
||||
// Remove cause we could not get the component, so we will get rid of this.
|
||||
//this._extensions.splice(this._extensions.indexOf(extensionObject), 1);
|
||||
|
||||
Reference in New Issue
Block a user