mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
Fixes #1092: Repair QR-Codes for API-Keys
This commit is contained in:
parent
be18d59735
commit
c9ca40222e
|
|
@ -63,7 +63,7 @@ $(document).on('click', '.apikey-delete-button', function(e)
|
|||
});
|
||||
$('.apikey-show-qr-button').on('click', function()
|
||||
{
|
||||
var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-key'), $(this).data('apikey-type'));
|
||||
var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-type'), $(this).data('apikey-key'));
|
||||
bootbox.alert({
|
||||
title: __t('API key'),
|
||||
message: "<p class='text-center'>" + qrcodeHtml + "</p>",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user