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