mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 13:10:11 -03:30
Removes redundant maxCount declaration
This commit is contained in:
@@ -528,7 +528,6 @@
|
||||
|
||||
// Detect when a label is removed
|
||||
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
||||
const maxCount = 512;
|
||||
const { text } = e.params.data;
|
||||
|
||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||
|
||||
@@ -736,7 +736,6 @@ export default
|
||||
|
||||
// Detect when a label is removed
|
||||
$(`#${jt_label_id}`).on('select2:unselect', (e) => {
|
||||
const maxCount = 512;
|
||||
const { text } = e.params.data;
|
||||
|
||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||
|
||||
@@ -207,7 +207,6 @@ export default [
|
||||
});
|
||||
// Detect when a label is removed
|
||||
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
||||
const maxCount = 512;
|
||||
const { text } = e.params.data;
|
||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||
as invalid, we set it back to valid */
|
||||
|
||||
@@ -351,7 +351,6 @@ export default [
|
||||
});
|
||||
// Detect when a label is removed
|
||||
$(`#${wfjt_label_id}`).on('select2:unselect', (e) => {
|
||||
const maxCount = 512;
|
||||
const { text } = e.params.data;
|
||||
/* If the character count of a removed label is greater than 512 AND the field is currently marked
|
||||
as invalid, we set it back to valid */
|
||||
|
||||
Reference in New Issue
Block a user