refs #5213 showItemDescriptor

This commit is contained in:
Carlos Satorres 2023-03-30 08:15:51 +02:00
parent 829d216155
commit 5c8c49d4a1
2 changed files with 5 additions and 10 deletions

View File

@ -20,13 +20,6 @@ module.exports = Self => {
arg: 'itemId',
type: 'Number',
description: 'Item id',
// descriptor
get: function() {
return this._itemId;
},
set: function(value) {
this._itemId = value;
}
}, {
arg: 'categoryId',
type: 'Number',

View File

@ -47,9 +47,11 @@
<vn-tbody>
<vn-tr ng-repeat="buy in entry.buys">
<vn-td expand>
<span>
{{::buy.itemName}}
</span>
<span
ng-click="itemDescriptor.show($event, item.id)"
class="link">
{{::buy.itemName}}
</span>
</vn-td>
<vn-td vn-fetched-tags>
<div>