Fix code style issues with ESLint
This commit is contained in:
parent
a7e1daca79
commit
0d2edef437
|
@ -207,7 +207,7 @@ function removeLot() {
|
||||||
|
|
||||||
function removeTag() {
|
function removeTag() {
|
||||||
const devices = TableController.getSelectedDevices();
|
const devices = TableController.getSelectedDevices();
|
||||||
const devices_id = devices.map(dev => $(dev).attr('data'));
|
const devices_id = devices.map(dev => $(dev).attr("data"));
|
||||||
if (devices_id.length == 1) {
|
if (devices_id.length == 1) {
|
||||||
const url = `/inventory/tag/devices/${devices_id[0]}/del/`;
|
const url = `/inventory/tag/devices/${devices_id[0]}/del/`;
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
|
@ -218,7 +218,7 @@ function removeTag() {
|
||||||
|
|
||||||
function addTag() {
|
function addTag() {
|
||||||
const devices = TableController.getSelectedDevices();
|
const devices = TableController.getSelectedDevices();
|
||||||
const devices_id = devices.map(dev => $(dev).attr('data'));
|
const devices_id = devices.map(dev => $(dev).attr("data"));
|
||||||
if (devices_id.length == 1) {
|
if (devices_id.length == 1) {
|
||||||
$("#addingTagModal .pol").hide();
|
$("#addingTagModal .pol").hide();
|
||||||
$("#addingTagModal .btn-primary").show();
|
$("#addingTagModal .btn-primary").show();
|
||||||
|
|
Reference in New Issue