|
Lines 50-55
export default {
Link Here
|
| 50 |
emptyListMessage: $__("There are no licenses defined"), |
50 |
emptyListMessage: $__("There are no licenses defined"), |
| 51 |
newLabel: $__("New license"), |
51 |
newLabel: $__("New license"), |
| 52 |
}, |
52 |
}, |
|
|
53 |
navigationOnFormSave: "LicensesList", |
| 53 |
extendedAttributesResourceType, |
54 |
extendedAttributesResourceType, |
| 54 |
vendors, |
55 |
vendors, |
| 55 |
props, |
56 |
props, |
|
Lines 367-373
export default {
Link Here
|
| 367 |
return baseResource.apiClient.update(license, license_id).then( |
368 |
return baseResource.apiClient.update(license, license_id).then( |
| 368 |
license => { |
369 |
license => { |
| 369 |
baseResource.setMessage($__("License updated")); |
370 |
baseResource.setMessage($__("License updated")); |
| 370 |
return license |
371 |
return license; |
| 371 |
}, |
372 |
}, |
| 372 |
error => {} |
373 |
error => {} |
| 373 |
); |
374 |
); |
|
Lines 375-381
export default {
Link Here
|
| 375 |
return baseResource.apiClient.create(license).then( |
376 |
return baseResource.apiClient.create(license).then( |
| 376 |
license => { |
377 |
license => { |
| 377 |
baseResource.setMessage($__("License created")); |
378 |
baseResource.setMessage($__("License created")); |
| 378 |
return license |
379 |
return license; |
| 379 |
}, |
380 |
}, |
| 380 |
error => {} |
381 |
error => {} |
| 381 |
); |
382 |
); |
| 382 |
- |
|
|