* feat: update the layout for organizations * feat: update the layout for an organization * feat: organization logos are square * feat: change the text on the org visit button * feat: initialize the dropdown menu * feat: trigger the modal * feat: update the text in the model * feat: tweak wording * WIP/feat: hook up a route with an action that calls an organization delete worker. * feat: redirect after showing the notice * feat: update the authorization required to be super admin * feat: add the notice to localization * spec: integration test * spec: fix * spec: delete worker * chore: update the link * feat: add safe navigation * feat: make sure that we show an error if the organization has credits * fix: error message for modal unspent credits * feat add the spec for the helper * fix: remove rspec preface * fix: small fixes to tests and I18n * fix: updated the number of orgs * feat: update the message * feat: update the message * chore: remove inclusion of helper * feat: change the name of the parameter * chore: newline
9 lines
309 B
JavaScript
9 lines
309 B
JavaScript
import { showOrganizationModal } from '././organizations/modals';
|
|
import { initializeDropdown } from '@utilities/dropdownUtils';
|
|
|
|
initializeDropdown({
|
|
triggerElementId: 'options-dropdown-trigger',
|
|
dropdownContentId: 'options-dropdown',
|
|
});
|
|
|
|
document.body.addEventListener('click', showOrganizationModal);
|