ReportBar.html(data['report']);
            activeReportBar.attr('href', data['report_url']);
          }
          if (data['message']) {
            displayToastTop({type: data['result'], string: data['message'], title: 'Report Update'});
          }
        }
      });
    });

    {% comment %} Export functions for logs and scopes {% endcomment %}
    $('.js-export-oplog').on('click', function () {
      let id = $(this).parent().find('.oplog-id').html()
      download(`/oplog/api/entries?export=csv&&op