@everymatrix/player-profile-info 0.0.365 → 0.0.368
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/player-profile-info",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.368",
|
|
4
4
|
"main": "dist/player-profile-info.js",
|
|
5
5
|
"svelte": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8de3cc787cc97aec99916dfedb01ec69ac55ba98"
|
|
40
40
|
}
|
|
@@ -315,7 +315,8 @@
|
|
|
315
315
|
checkIsValid();
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
const updatePlayerInfo = ():void => {
|
|
318
|
+
const updatePlayerInfo = (e):void => {
|
|
319
|
+
e.preventDefault();
|
|
319
320
|
if (differencesExist == true && isValid == true) {
|
|
320
321
|
window.postMessage({ type: 'UpdatePlayerInfo', provisionalArray }, window.location.href);
|
|
321
322
|
window.postMessage({ type: 'UpdatePlayerConsent', consentArray }, window.location.href);
|
|
@@ -562,7 +563,7 @@
|
|
|
562
563
|
</section>
|
|
563
564
|
{/if}
|
|
564
565
|
<section class="PlayerDetailsButtonsArea {isMobile ? 'PlayerDetailsButtonsAreaMobile' : ''}" part="PlayerDetailsButtonsArea {isMobile ? 'PlayerDetailsButtonsAreaMobile' : ''}">
|
|
565
|
-
<
|
|
566
|
+
<button class="PlayerDetailsSaveButton {differencesExist && isValid ? '' : 'PlayerButtonDisabled'}" part="PlayerDetailsSaveButton {differencesExist && isValid ? '' : 'PlayerButtonDisabled'}" on:click={(e) => updatePlayerInfo(e)}>{$_('playerProfile.userProfileSaveChanges')}</button>
|
|
566
567
|
</section>
|
|
567
568
|
{#if showConfirmSave}
|
|
568
569
|
<section class="PlayerDetailsConfirmSave" part="PlayerDetailsConfirmSave">
|