Commit 9cb6d6b8 authored by Hermann's avatar Hermann
Browse files

itemView is dependent on item rights and not resource rights

parent 49d4c958
......@@ -57,7 +57,7 @@ export default class ItemView {
this.data = this.controller.data;
return m('div', [
m(Toolbar, [
this.handler.rights.indexOf('PATCH') > -1 && m('div', {
this.data._links.self.methods.indexOf('PATCH') > -1 && m('div', {
style: { width: 'calc(100% - 48px)' },
}, m('div.pe-button-row', [
m(Button, {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment