mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
fix bugs
This commit is contained in:
@@ -96,6 +96,7 @@ async function csv_import(shortName, filename, callback) {
|
||||
var row = data[i];
|
||||
if (!( "Decimal" in row) || !("Description" in row) || !("Alpha Tag" in row)) {
|
||||
console.error("Error: csv import column header error");
|
||||
console.error(row)
|
||||
callback("Column Headers are required - Required Columns: 'Decimal' 'Decscription' 'Alpha Tag' Optional Column: 'Priority' ", null);
|
||||
return
|
||||
}
|
||||
|
||||
@@ -327,7 +327,7 @@ const System = () => {
|
||||
<Header size="small">Description</Header>
|
||||
{system.description}
|
||||
</Segment>
|
||||
{system.status.length>0 &&
|
||||
{system.status &&
|
||||
<Segment>
|
||||
<Header size="small">Status Message</Header>
|
||||
{system.status}
|
||||
|
||||
Reference in New Issue
Block a user