refactor(sql): improved the return function to show data [] when not connected, prevents crashes
This commit is contained in:
@@ -15,6 +15,10 @@ export const printStatus = [
|
||||
code: 8,
|
||||
text: "First time printing",
|
||||
},
|
||||
{
|
||||
code: 9,
|
||||
text: "Offline",
|
||||
},
|
||||
];
|
||||
|
||||
export const printerUpdate = async (printer: any, status: any) => {
|
||||
|
||||
Reference in New Issue
Block a user