You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.native.js 756B

123456789101112131415161718192021222324
  1. import { openDialog } from '../base/dialog';
  2. import { ContextMenuLobbyParticipantReject, ContextMenuMeetingParticipantDetails } from './components/native';
  3. /**
  4. * Displays the context menu for the selected lobby participant.
  5. *
  6. * @param {Object} participant - The selected lobby participant.
  7. * @returns {Function}
  8. */
  9. export function showContextMenuReject(participant) {
  10. return openDialog(ContextMenuLobbyParticipantReject, { participant });
  11. }
  12. /**
  13. * Displays the context menu for the selected meeting participant.
  14. *
  15. * @param {Object} participant - The selected meeting participant.
  16. * @returns {Function}
  17. */
  18. export function showContextMenuDetails(participant) {
  19. return openDialog(ContextMenuMeetingParticipantDetails, { participant });
  20. }