mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
upgraded Ember and Bootstrap, merged changes
This commit is contained in:
parent
b4fd42da38
commit
5dd7d9c181
114 changed files with 9814 additions and 1361 deletions
|
@ -12,15 +12,15 @@
|
|||
import Mixin from '@ember/object/mixin';
|
||||
|
||||
export default Mixin.create({
|
||||
isReadonly: function () {
|
||||
if (this.get('page.userId') === this.get('session.session.authenticated.user.id')) {
|
||||
return undefined;
|
||||
} else {
|
||||
return "readonly";
|
||||
}
|
||||
}.property('page'),
|
||||
// isReadonly() {
|
||||
// if (this.get('page.userId') === this.get('session.session.authenticated.user.id')) {
|
||||
// return undefined;
|
||||
// } else {
|
||||
// return "readonly";
|
||||
// }
|
||||
// }.property('page'),
|
||||
|
||||
isMine: function () {
|
||||
return this.get('page.userId') === this.get('session.session.authenticated.user.id');
|
||||
}.property('page')
|
||||
// isMine() {
|
||||
// return this.get('page.userId') === this.get('session.session.authenticated.user.id');
|
||||
// }.property('page')
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue