feat: 🎸 Add aliases to list view (#2256)

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13487
This commit is contained in:
Zhihe Li authored and GitHub committed 2024-04-19 16:18:32 -04:00
1 parent f246c24a08
commit 79a932bebb
11 files changed
+162 -89

No files matched your search

+6
View File
@@ -135,6 +135,12 @@ export default class TargetModel extends GeneratedTargetModel {
return Boolean(pendingOrActiveSessions.length);
}
get associatedAliases() {
return this.store
.peekAll('alias')
.filter((alias) => alias?.destination_id === this.id);
}
// =methods
/**