@3cr/viewer-browser 0.0.37 → 0.0.38
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
|
@@ -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
|
}
|