chore: 🤖 alias target route (#2228)

This commit is contained in:
Dharini Jeeva authored and GitHub committed 2024-04-12 16:36:17 -07:00
1 parent c550faddb4
commit bd65c91ff9
21 files changed
+745 -17

No files matched your search

@@ -37,6 +37,13 @@ export default class ScopesScopeTargetsTargetIndexController extends Controller
return this.model.aliases.length > 3;
}
/**
* Decides when to show the flyout component
* @returns {boolean}
*/
get showFlyOutComponent() {
return this.showFlyout && this.model.aliases.length > 3;
}
/**
* Returns only the first three items in the aliases array if there are more than 3
* @returns {array}