Merge branch 'main' of github.com:koush/scrypted

This commit is contained in:
Koushik Dutta
2022-06-08 10:42:22 -07:00
4 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
{
"scrypted.debugHost": "127.0.0.1",
"scrypted.debugHost": "koushik-mac",
}

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/core",
"version": "0.1.1",
"version": "0.1.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/core",
"version": "0.1.1",
"version": "0.1.4",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/common": "file:../../common",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
"version": "0.1.1",
"version": "0.1.4",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",

View File

@@ -87,9 +87,9 @@ export default {
return ScryptedInterface;
},
showChips() {
let requiredChips = 1;
if (this.availableMixins.length) requiredChips--;
return Object.keys(this.settingsGroups).length > requiredChips;
if (this.availableMixins.length)
return true;
return Object.keys(this.settingsGroups).length > 1;
},
settingsGroups() {
const ret = {};