Skip to content

Commit

Permalink
Add hint that users should run pihole -g after successful teleporter …
Browse files Browse the repository at this point in the history
…import

Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Oct 30, 2023
1 parent e669b99 commit ca0346a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/pi-hole/js/settings-teleporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ function importZIP() {
if (data.error.hint !== null) $("#modal-import-error-message").text(data.error.hint);
} else if ("files" in data) {
$("#modal-import-success").show();
$("#modal-import-success-title").text("Import successful");
$("#modal-import-success-title").text(
"Import successful, please run pihole -g to update gravity."
);
var text = "<p>Processed files:<ul>";
for (var i = 0; i < data.files.length; i++) {
text += "<li>/" + utils.escapeHtml(data.files[i]) + "</li>";
Expand Down

0 comments on commit ca0346a

Please sign in to comment.