Skip to content

Commit 99c1c69

Browse files
authored
bug-fix: Added missed delay (#944)
1 parent 43f4b92 commit 99c1c69

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/modules/ChannelSettings/components/ModerationPanel/OperatorList.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,12 @@ export const OperatorList = (): ReactElement => {
100100
<MenuItem
101101
onClick={() => {
102102
channel?.removeOperators([operator.userId]).then(() => {
103-
refreshList();
103+
/**
104+
* Limitation to server-side table update delay.
105+
*/
106+
setTimeout(() => {
107+
refreshList();
108+
}, 500);
104109
});
105110
closeDropdown();
106111
}}

0 commit comments

Comments
 (0)