Skip to content

Commit d438986

Browse files
committed
frontend/GroupingModal: Remove success alerts for grouping operations
1 parent 408cf2a commit d438986

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

frontend/src/components/device/GroupingModal.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export function GroupingModal({
105105
});
106106

107107
if (response.status === 200) {
108-
showAlert(t("delete_grouping_success"), "success", undefined, undefined, 3000);
109108
await loadGroupings();
110109
} else {
111110
showAlert(t("delete_grouping_failed", { error: error || response.status }), "danger");
@@ -135,8 +134,6 @@ export function GroupingModal({
135134
credentials: "same-origin"
136135
});
137136
}
138-
139-
showAlert(t("create_grouping_success"), "success", undefined, undefined, 3000);
140137
};
141138

142139
const updateGrouping = async (groupingId: string, name: string, deviceIds: Set<string>) => {
@@ -163,8 +160,6 @@ export function GroupingModal({
163160
credentials: "same-origin"
164161
});
165162
}
166-
167-
showAlert(t("update_grouping_success"), "success", undefined, undefined, 3000);
168163
};
169164

170165
const loadGroupings = async () => {

0 commit comments

Comments
 (0)