Skip to content

Commit 1920c1c

Browse files
authored
Hardcode NA store
1 parent 25fe0e5 commit 1920c1c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

_layouts/shopping.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
var spread_shop_config = {
4242
shopName: 'librenms',
4343
// locale: 'en_EU',
44-
prefix: null, // disable localStorage.getItem('store_url'),
44+
prefix: na_store, // disable localStorage.getItem('store_url'),
4545
baseId: 'librenms-shop'
4646
};
4747

@@ -61,9 +61,9 @@
6161
var country = parts[1];
6262
// spread_shop_config.locale = parts[0] + '_' + country;
6363

64-
if (! spread_shop_config.prefix) {
65-
setStore(country);
66-
}
64+
// if (! spread_shop_config.prefix) {
65+
// setStore(country);
66+
// }
6767

6868
if (spread_shop_config.prefix === na_store) {
6969
document.getElementById('locale-display').innerText = 'NA';

0 commit comments

Comments
 (0)