Session permissions issue (#1975)
* refactor: 💡 session isCancelable to isAvailable * refactor: 💡 check for target info for showing target details * refactor: 💡 add fallback for session data from connect command * refactor: 💡 remove extra divs * refactor: 💡 remove await from peekRecord of a session * test: 💍 add test for no read permission for sessions * test: 💍 reset global qunit after test is done
This commit is contained in:
1 parent
933e272764
commit
f879bbb1ec
10 files changed
+126
-69
No files matched your search
@@ -128,7 +128,7 @@ export default class SessionModel extends GeneratedSessionModel {
|
||||
* @type {boolean}
|
||||
*/
|
||||
@computed('isActive', 'isPending')
|
||||
get isCancelable() {
|
||||
get isAvailable() {
|
||||
return this.isActive || this.isPending;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user