1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Generate global or tenant level backup file

This commit is contained in:
sauls8t 2018-10-11 16:19:11 +01:00
parent 4094677792
commit 66d5e73ed1
5 changed files with 533 additions and 28 deletions

View file

@ -25,9 +25,9 @@ export default Component.extend(Notifier, {
didReceiveAttrs() {
this._super(...arguments);
this.set('backupSpec', {
retain: true,
org: '*'
// org: this.get('appMeta.orgId')
retain: false,
// org: '*'
org: this.get('appMeta.orgId')
});
},

View file

@ -16,7 +16,7 @@
<p class="text-danger">Backup failed &mdash; please check server logs</p>
{{/if}}
{{#if backupSuccess}}
<p>Backup successful ({{backupFilename}})</p>
<p class="font-weight-bold">Backup successful ({{backupFilename}})</p>
{{/if}}
</div>
</form>