1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Support custom URLS for Diagrams.net

This commit is contained in:
Harvey Kandola 2022-03-24 13:05:45 -04:00
parent 607a2d5797
commit 1a909dd046
8 changed files with 40 additions and 9 deletions

View file

@ -32,11 +32,13 @@ export default Route.extend(AuthenticatedRouteMixin, {
if (this.get("session.isGlobalAdmin")) {
return RSVP.hash({
jira: this.get('orgService').getOrgSetting(orgId, 'jira'),
flowchart: this.get('orgService').getOrgSetting(orgId, 'flowchart'),
trello: this.get('orgService').getGlobalSetting('SECTION-TRELLO')
});
} else {
return RSVP.hash({
jira: this.get('orgService').getOrgSetting(orgId, 'jira'),
flowchart: this.get('orgService').getOrgSetting(orgId, 'flowchart'),
trello: { appKey: '' }
});
}