Skip to content

Commit

Permalink
regression: error when archiving rooms in the UI (#31034)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 authored Nov 21, 2023
1 parent 9045c0d commit bcbf385
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const EditRoomInfo = ({ room, onClickClose, onClickBack }: EditRoomInfoProps) =>

const handleUpdateRoomData = useMutableCallback(async ({ hideSysMes, ...formData }) => {
const data = getDirtyFields(formData, dirtyFields);
delete data.archived;

try {
await saveAction({
Expand Down

0 comments on commit bcbf385

Please sign in to comment.