mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
clone space options expandable
This commit is contained in:
parent
c235fb569e
commit
63b24aed3f
3 changed files with 638 additions and 625 deletions
|
@ -28,6 +28,7 @@ export default Ember.Component.extend(TooltipMixin, NotifierMixin, AuthMixin, {
|
|||
copyDocument: false,
|
||||
clonedSpace: { id: "" },
|
||||
showSpace: false,
|
||||
showClone: false,
|
||||
|
||||
didReceiveAttrs() {
|
||||
let folders = this.get('folders');
|
||||
|
@ -61,6 +62,10 @@ export default Ember.Component.extend(TooltipMixin, NotifierMixin, AuthMixin, {
|
|||
},
|
||||
|
||||
actions: {
|
||||
onToggleCloneOptions() {
|
||||
this.set('showClone', !this.get('showClone'));
|
||||
},
|
||||
|
||||
onToggleNewSpace() {
|
||||
let val = !this.get('showSpace');
|
||||
this.set('showSpace', val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue