refactor: 💡 use recrusive listing for desktop queries
and add mock rescursive support for scopes, targets, and sessions
This commit is contained in:
11 files changed
+132
-110
No files matched your search
@@ -45,6 +45,14 @@ export default class TargetModel extends GeneratedTargetModel {
|
||||
.filter(s => s && (s.target_id === this.id));
|
||||
}
|
||||
|
||||
/**
|
||||
* The project associated with this target (if already loaded).
|
||||
* @type {ScopeModel}
|
||||
*/
|
||||
get project() {
|
||||
return this.store.peekRecord('scope', this.scopeID);
|
||||
}
|
||||
|
||||
/**
|
||||
* True if any sessions associated with this target are active or pending.
|
||||
* @type {boolean}
|
||||
|
||||
Reference in new issue
Block a user