@3cr/viewer-browser 0.0.37 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3cr/viewer-browser",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "main": "./dist/Viewer3CR.umd.js",
5
5
  "module": "dist/Viewer3CR.umd.js",
6
6
  "homepage": "https://docs.3cr.singular.health",
@@ -360,7 +360,7 @@
360
360
  <div
361
361
  class="bordered-event-window"
362
362
  v-for="layout in scanState.Layout.PositionData"
363
- :key="componentKey"
363
+ :key="layout.Anchor"
364
364
  :style="{
365
365
  ...generateDivStyleForLayout(layout),
366
366
  cursor: getCurrentActiveView(layout) === ScanView.Volume ? 'grab !important' : 'default',
@@ -975,9 +975,12 @@ function setScanState(message: string) {
975
975
  }
976
976
 
977
977
  function handleOnPayload(interfaceSet: string | FrontEndInterfaces, actionSet: string, message: string) {
978
- if (interfaceSet === FrontEndInterfaces.scan_loading) {
978
+ if (interfaceSet === FrontEndInterfaces.scan_loading || interfaceSet === 'scan_state') {
979
979
  i_scanState(actionSet, message)
980
980
  }
981
+ // if (interfaceSet === 'scan_state') {
982
+ // i_scanState(actionSet, message)
983
+ // }
981
984
  if (interfaceSet === FrontEndInterfaces.file_management) {
982
985
  i_fileManagement(actionSet, message)
983
986
  }