Revision 8f53cfa3 snf-cyclades-app/synnefo/ui/static/snf/js/glance_models.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/glance_models.js | ||
---|---|---|
122 | 122 |
|
123 | 123 |
get_personal_images: function() { |
124 | 124 |
return _.filter(this.active(), function(i) { |
125 |
return i.get_owner() == snf.user.username
|
|
125 |
return i.get_owner_uuid() == snf.user.username;
|
|
126 | 126 |
}); |
127 | 127 |
}, |
128 | 128 |
|
... | ... | |
134 | 134 |
return _.filter(this.active(), function(i){ |
135 | 135 |
return !_.include(_.keys(snf.config.system_images_owners), |
136 | 136 |
i.get_owner()) && |
137 |
i.get_owner() != snf.user.username && |
|
137 |
i.get_owner_uuid() != snf.user.username &&
|
|
138 | 138 |
!i.is_public(); |
139 | 139 |
}); |
140 | 140 |
} |
Also available in: Unified diff