mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-03 01:56:56 +00:00
feat(app): address review
This commit is contained in:
@@ -28,8 +28,8 @@
|
|||||||
"notNull": true,
|
"notNull": true,
|
||||||
"autoincrement": false
|
"autoincrement": false
|
||||||
},
|
},
|
||||||
"focusMode": {
|
"sources": {
|
||||||
"name": "focusMode",
|
"name": "sources",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": true,
|
"notNull": true,
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ const calculationWidget: Widget = {
|
|||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (output.notPresent) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const result = mathEval(output.expression);
|
const result = mathEval(output.expression);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user