Browse Source

[WebUI] Set locale on UI load

Fixes: #4606
pull/4607/head
moisseev 2 years ago
parent
commit
7110535459
  1. 2
      interface/js/app/rspamd.js

2
interface/js/app/rspamd.js

@ -59,7 +59,7 @@ function ($, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_config,
var neighbours = []; // list of clusters
var checked_server = "All SERVERS";
var timer_id = [];
var locale = null;
var locale = (localStorage.getItem("selected_locale") === "custom") ? localStorage.getItem("custom_locale") : null;
var selData = null; // Graph's dataset selector state
NProgress.configure({

Loading…
Cancel
Save