chore: 🤖 alias target route (#2228)
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user