Added input validation
the alert level widget now has visual and logical input validation
This commit is contained in:
@@ -13,7 +13,7 @@ export default function AddWidgetMenu({appendWidget}) {
|
||||
<Menu.Content>
|
||||
<Menu.Item
|
||||
value="AlertLevel"
|
||||
onClick={() => appendWidget(AlertLevel, 3, 6, 3, 6, 3, 6)} // width and height are passed through here for each widget
|
||||
onClick={() => appendWidget(AlertLevel, 4, 7, 4, 7, 4, 7)} // width and height are passed through here for each widget
|
||||
>
|
||||
Alert Level
|
||||
</Menu.Item>
|
||||
|
||||
Reference in New Issue
Block a user