Add editing to call details pane
This commit is contained in:
parent
95209689a8
commit
cee2788654
22 changed files with 330 additions and 118 deletions
|
@ -9,7 +9,10 @@ import { getIntl } from '../selectors/user';
|
|||
import { useGlobalModalActions } from '../ducks/globalModals';
|
||||
import { getCallLinkAddNameModalRoomId } from '../selectors/globalModals';
|
||||
import { strictAssert } from '../../util/assert';
|
||||
import { isCallLinksCreateEnabled } from '../../util/callLinks';
|
||||
import {
|
||||
isCallLinkAdmin,
|
||||
isCallLinksCreateEnabled,
|
||||
} from '../../util/callLinks';
|
||||
import { CallLinkAddNameModal } from '../../components/CallLinkAddNameModal';
|
||||
|
||||
export const SmartCallLinkAddNameModal = memo(
|
||||
|
@ -48,6 +51,8 @@ export const SmartCallLinkAddNameModal = memo(
|
|||
return null;
|
||||
}
|
||||
|
||||
strictAssert(isCallLinkAdmin(callLink), 'User is not an admin');
|
||||
|
||||
return (
|
||||
<CallLinkAddNameModal
|
||||
i18n={i18n}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue