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

Enable custom logo upload and rendering

This commit is contained in:
McMatts 2019-01-06 13:50:12 +00:00
parent a211ba051a
commit 036f36ba1d
36 changed files with 574 additions and 211 deletions

View file

@ -16,9 +16,13 @@ export default Controller.extend({
orgService: service('organization'),
actions: {
save() {
onUpdate() {
return this.get('orgService').save(this.model.general).then(() => {
});
},
onDefaultLogo(orgId) {
return this.get('orgService').useDefaultLogo(orgId);
}
}
});

View file

@ -3,4 +3,6 @@
desc="Options to help you customize Documize"
icon=constants.Icon.Settings}}
{{customize/general-settings model=model save=(action "save")}}
{{customize/general-settings model=model
onUpdate=(action "onUpdate")
onDefaultLogo=(action "onDefaultLogo")}}