mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Merge pull request #1788 from andreheuer/master
Fixed battery label printing
This commit is contained in:
commit
486a58909d
@ -88,7 +88,7 @@ $(document).on('click', '.battery-grocycode-label-print', function(e)
|
||||
e.preventDefault();
|
||||
document.activeElement.blur();
|
||||
|
||||
var batteryId = $(e.currentTarget).attr('data-chore-id');
|
||||
var batteryId = $(e.currentTarget).attr('data-battery-id');
|
||||
Grocy.Api.Get('batteries/' + batteryId + '/printlabel', function(labelData)
|
||||
{
|
||||
if (Grocy.Webhooks.labelprinter !== undefined)
|
||||
|
Loading…
x
Reference in New Issue
Block a user