mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas)
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -88,7 +88,7 @@ $(function () {
|
||||
url: "api_db.php?messages",
|
||||
data: { token: token },
|
||||
type: "POST",
|
||||
dataSrc: "messages"
|
||||
dataSrc: "messages",
|
||||
},
|
||||
order: [[0, "asc"]],
|
||||
columns: [
|
||||
@@ -100,7 +100,7 @@ $(function () {
|
||||
{ data: "blob2", visible: false },
|
||||
{ data: "blob3", visible: false },
|
||||
{ data: "blob4", visible: false },
|
||||
{ data: "blob5", visible: false }
|
||||
{ data: "blob5", visible: false },
|
||||
],
|
||||
dom:
|
||||
"<'row'<'col-sm-4'l><'col-sm-8'f>>" +
|
||||
@@ -108,10 +108,10 @@ $(function () {
|
||||
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
|
||||
lengthMenu: [
|
||||
[10, 25, 50, 100, -1],
|
||||
[10, 25, 50, 100, "All"]
|
||||
[10, 25, 50, 100, "All"],
|
||||
],
|
||||
language: {
|
||||
emptyTable: "No issues found."
|
||||
emptyTable: "No issues found.",
|
||||
},
|
||||
stateSave: true,
|
||||
stateSaveCallback: function (settings, data) {
|
||||
@@ -134,6 +134,6 @@ $(function () {
|
||||
|
||||
// Apply loaded state to table
|
||||
return data;
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user