Use locale formatting for some numbers in the Buefy grid
This commit is contained in:
parent
48e28a1ba4
commit
3ddde1a1ca
2 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ let TailboneGrid = {
|
|||
// submit form if user confirms
|
||||
// TODO: how/where to get/show "plural model title" here?
|
||||
// if (confirm("You are about to delete " + this.total + " ${grid.model_title_plural}.\n\nAre you sure?")) {
|
||||
if (confirm("You are about to delete " + this.total + " objects.\n\nAre you sure?")) {
|
||||
if (confirm("You are about to delete " + this.total.toLocaleString('en') + " objects.\n\nAre you sure?")) {
|
||||
event.target.form.submit()
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue