First Production Push
This commit is contained in:
@@ -176,11 +176,15 @@ export default function DeviceForm() {
|
||||
device_stats: stats,
|
||||
events_on: eventsOn,
|
||||
device_location_coordinates: locationCoordinates,
|
||||
device_melodies_all: [],
|
||||
device_melodies_favorites: [],
|
||||
user_list: [],
|
||||
websocket_url: websocketUrl,
|
||||
churchAssistantURL,
|
||||
// device_melodies_all, device_melodies_favorites, user_list are managed
|
||||
// elsewhere and must NOT be sent here to avoid overwriting them on edit
|
||||
...(!isEdit && {
|
||||
device_melodies_all: [],
|
||||
device_melodies_favorites: [],
|
||||
user_list: [],
|
||||
}),
|
||||
};
|
||||
|
||||
let deviceId = id;
|
||||
|
||||
Reference in New Issue
Block a user