refactor: 💡 use recrusive listing for desktop queries

and add mock rescursive support for scopes, targets, and sessions
This commit is contained in:
Randall Morey committed 2021-02-10 13:19:24 -05:00
1 parent 450b8c2ab0
commit 0b8550c136
11 files changed
+132 -110

No files matched your search

+8
View File
@@ -32,6 +32,14 @@ export default class SessionModel extends GeneratedSessionModel {
: null;
}
/**
* The target associated with this session (if loaded).
* @type {TargetModel}
*/
get target() {
return this.store.peekRecord('target', this.target_id);
}
// =methods
/**