Lint fixes
parent
69770ccf5b
commit
7035cb777a
|
@ -771,9 +771,11 @@ export default {
|
||||||
getSelectedItemsLabel() {
|
getSelectedItemsLabel() {
|
||||||
let pattern = /{(.*?)}/;
|
let pattern = /{(.*?)}/;
|
||||||
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel;
|
const selectedItemsLabel = this.$primevue.config.locale.selectionMessage || this.selectedItemsLabel;
|
||||||
|
|
||||||
if (pattern.test(selectedItemsLabel)) {
|
if (pattern.test(selectedItemsLabel)) {
|
||||||
return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + '');
|
return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + '');
|
||||||
}
|
}
|
||||||
|
|
||||||
return selectedItemsLabel;
|
return selectedItemsLabel;
|
||||||
},
|
},
|
||||||
onToggleAll(event) {
|
onToggleAll(event) {
|
||||||
|
|
Loading…
Reference in New Issue