@everymatrix/casino-header-controller 0.0.316 → 0.0.319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-header-controller",
3
- "version": "0.0.316",
3
+ "version": "0.0.319",
4
4
  "main": "dist/casino-header-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "f7fc15774d608e0711662d4e0df2b39e3c18e745"
41
+ "gitHead": "303df572e2a23ddc3a1c2f113be36d9db5606323"
42
42
  }
@@ -26,7 +26,7 @@
26
26
 
27
27
  export let actionevent:string = '';
28
28
 
29
- let activeIndex:number = 0;
29
+ let activeIndex:string;
30
30
  let identity:string = "HeaderMenu";
31
31
 
32
32
  setupI18n({ withLocale: 'en', translations: {}});
@@ -167,7 +167,7 @@
167
167
  }
168
168
 
169
169
  const setActiveIndex = ():void => {
170
- activeIndex = mainMenuArray.findIndex(item => item.path.indexOf(activecategory) > -1)
170
+ activeIndex = mainMenuArray.findIndex(item => item.path.indexOf(activecategory) > -1).toString();
171
171
  }
172
172
 
173
173
  const sendSliderData = (sliderData:any):void => {
@@ -267,7 +267,7 @@
267
267
  <div class="HeaderTopActions" part="HeaderTopActions">
268
268
  <div class="HeaderItemsMenu PrimaryMenu" part="HeaderItemsMenu PrimaryMenu">
269
269
  <player-account-balance-modal {session} {userid} {endpoint} {lang}/>
270
- <div class="Item ItemDeposit" part="Item ItemDeposit" on:click={()=>menuAction('deposit')}>Deposit</div>
270
+ <div class="Item ItemDeposit" part="Item ItemDeposit" on:click={()=>menuAction('deposit')}>{$_('headerItem.deposit')}</div>
271
271
  <div class="Item ItemAccount" part="Item ItemAccount" on:click={()=>menuAction('myaccount')}>
272
272
  <svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429">
273
273
  <defs>