From b234ea6463dc7dcf3b54f8bca5e80da4a2fbb57e Mon Sep 17 00:00:00 2001 From: GuanyuTao Date: Tue, 27 Apr 2021 16:32:44 +0100 Subject: [PATCH 1/2] add two new device codes: SMQ and VIR --- packages/itmat-interface/src/utils/definition.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/itmat-interface/src/utils/definition.ts b/packages/itmat-interface/src/utils/definition.ts index 61737da28..e1c479e51 100644 --- a/packages/itmat-interface/src/utils/definition.ts +++ b/packages/itmat-interface/src/utils/definition.ts @@ -16,7 +16,9 @@ export const deviceTypes = { PSR: 'PSG raw data', PSM: 'PSG meta data', SMA: 'Stress Monitor App', - TFA: 'ThinkFast App' + TFA: 'ThinkFast App', + SMQ: 'Stress Monitor App Questionnaire', + VIR: 'Virtual device type' }; export const sitesIDMarker = { From 84f17d8afbf18f3469c8e8275b860645b8f84f4c Mon Sep 17 00:00:00 2001 From: GuanyuTao Date: Tue, 27 Apr 2021 16:33:50 +0100 Subject: [PATCH 2/2] add two new device codes: SMQ and VIR --- .../src/components/datasetDetail/tabContent/files/fileTab.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/itmat-ui-react/src/components/datasetDetail/tabContent/files/fileTab.tsx b/packages/itmat-ui-react/src/components/datasetDetail/tabContent/files/fileTab.tsx index c6214556e..17fc8c569 100644 --- a/packages/itmat-ui-react/src/components/datasetDetail/tabContent/files/fileTab.tsx +++ b/packages/itmat-ui-react/src/components/datasetDetail/tabContent/files/fileTab.tsx @@ -41,7 +41,9 @@ export const deviceTypes = { PSR: 'PSG raw data', PSM: 'PSG meta data', SMA: 'Stress Monitor App', - TFA: 'ThinkFast App' + TFA: 'ThinkFast App', + SMQ: 'Stress Monitor App Questionnaire', + VIR: 'Virtual device type' }; const { RangePicker } = DatePicker;