Hoe de binnenkomende e-mail-modal uit te schakelen

Aa it is only visible to admins so no issues with it.

Anyways, if anyone else like me wants to disable this but can’t find a way here what I did with GPT and it worked great :slight_smile:

<script type="text/discourse-plugin" version="0.8">
  api.onPageChange((url, title) => {
    // Wait for the page to fully load
    Ember.run.scheduleOnce('afterRender', function() {
      // Find and remove all details elements with class "elided"
      var elidedDetailsList = document.querySelectorAll('details.elided');
      elidedDetailsList.forEach(function(elidedDetails) {
        elidedDetails.remove();
      });
    });
  });
</script>