✨ Add torrent network traffic widget

This commit is contained in:
Meierschlumpf committed 2022-12-20 09:05:49 +01:00
1 parent 25ffcfd21d
commit ab2c7468b9
2 files changed
+174 -6

No files matched your search

@@ -59,7 +59,9 @@ export const WidgetsMenu = ({ integration, widget }: WidgetsMenuProps) => {
handleClickEdit={handleEditClick}
handleClickChangePosition={handleChangeSizeClick}
handleClickDelete={handleDeleteClick}
displayEdit={widget.properties !== undefined}
displayEdit={
typeof widget.properties !== 'undefined' && Object.keys(widget.properties).length !== 0
}
/>
);
};