mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
Address tags incompatiblity introduced in 0.28.0-beta.2
From change (#2993)[https://github.com/juanfont/headscale/pull/2993]
This commit is contained in:
@@ -56,10 +56,7 @@ export function mapNodes(
|
||||
export function sortNodeTags(nodes: Machine[]): string[] {
|
||||
return Array.from(
|
||||
new Set(
|
||||
nodes.flatMap(({ validTags, forcedTags }) => [
|
||||
...validTags,
|
||||
...forcedTags,
|
||||
]),
|
||||
nodes.flatMap((node) => node.tags),
|
||||
),
|
||||
).sort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user