diff --git a/src/utils/jms.js b/src/utils/jms.js index 7b5c49bc1..8b281314c 100644 --- a/src/utils/jms.js +++ b/src/utils/jms.js @@ -150,3 +150,8 @@ export function toM2MJsonParams(attrFilter) { const data = encoder.encode(JSON.stringify(attrFilter)) return ['attr_rules', encodeURIComponent(btoa(String.fromCharCode(...data)))] } + +export function IsSupportPauseSessionType(terminalType) { + const supportedType = ['koko', 'lion', 'magnus', 'chen', 'kael'] + return supportedType.includes(terminalType) +} diff --git a/src/views/sessions/SessionList/OnlineList.vue b/src/views/sessions/SessionList/OnlineList.vue index 5490ab153..1aa336808 100644 --- a/src/views/sessions/SessionList/OnlineList.vue +++ b/src/views/sessions/SessionList/OnlineList.vue @@ -5,6 +5,7 @@