mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-04 19:21:58 +00:00
Remove table loader when delete modal already has a loader
This commit is contained in:
@@ -97,10 +97,8 @@ const TableContent = props => {
|
||||
setShowModalLoader(true);
|
||||
const success = await props.deleteContent(contentToDelete);
|
||||
if (success) {
|
||||
setShowTableLoader(true);
|
||||
const newContent = await props.getContent();
|
||||
sortTableContent({ newContent });
|
||||
setShowTableLoader(false);
|
||||
setContentToDelete({});
|
||||
dispatch({
|
||||
type: 'ADD',
|
||||
|
||||
Reference in New Issue
Block a user