Hide branch select until it's working

This commit is contained in:
TrainDoctor
2022-08-24 21:18:38 -07:00
parent 79db0c779d
commit effc4ab0f5
2 changed files with 4 additions and 4 deletions

View File

@@ -75,9 +75,9 @@ async def is_systemd_unit_active(unit_name: str) -> bool:
async def stop_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
cmd = ["systemctl", "stop", unit_name]
return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
async def start_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
cmd = ["systemctl", "start", unit_name]
return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

View File

@@ -3,7 +3,7 @@ import { useState } from 'react';
import { FaShapes } from 'react-icons/fa';
import { installFromURL } from '../../../../store';
import BranchSelect from './BranchSelect';
// import BranchSelect from './BranchSelect';
import RemoteDebuggingSettings from './RemoteDebugging';
import UpdaterSettings from './Updater';
@@ -22,7 +22,7 @@ export default function GeneralSettings() {
/>
</Field> */}
<UpdaterSettings />
<BranchSelect />
{/* <BranchSelect /> */}
<RemoteDebuggingSettings />
<Field
label="Manual plugin install"