To sort correctly humanitizeEntityRef needs to be in lowercase
Signed-off-by: albertojuanL <alberto.juan@lansweeper.com>
This commit is contained in:
@@ -68,7 +68,7 @@ const refCompare = (a: Entity, b: Entity) => {
|
||||
entity.metadata.title?.toLocaleLowerCase('en-US') ||
|
||||
humanizeEntityRef(entity, {
|
||||
defaultKind: 'Component',
|
||||
});
|
||||
}).toLocaleLowerCase('en-US');
|
||||
|
||||
const aRef = toRef(a);
|
||||
const bRef = toRef(b);
|
||||
|
||||
Reference in New Issue
Block a user