diff --git a/popup/src/classes/DTO/Registers.ts b/popup/src/classes/DTO/Registers.ts index 82fe35b..a947843 100644 --- a/popup/src/classes/DTO/Registers.ts +++ b/popup/src/classes/DTO/Registers.ts @@ -1,5 +1,15 @@ export class Registers { xtee_mta = '' ria = '' + scoring = '' xtee_pension = '' + + reset () { + // eslint-disable-next-line @typescript-eslint/camelcase + this.xtee_mta = '' + this.ria = '' + this.scoring = '' + // eslint-disable-next-line @typescript-eslint/camelcase + this.xtee_pension = '' + } } diff --git a/popup/src/components/mocks/script.ts b/popup/src/components/mocks/script.ts index de4c76c..eb849b2 100644 --- a/popup/src/components/mocks/script.ts +++ b/popup/src/components/mocks/script.ts @@ -29,6 +29,8 @@ export default class Mocks extends Vue { @Watch('personalCode', { immediate: true }) onPersonalCodeChanged () { + this.registers.reset() + this.showLoader = false this.refreshMocks() } diff --git a/popup/src/components/mocks/style.scss b/popup/src/components/mocks/style.scss index 34e3a81..1388aa4 100644 --- a/popup/src/components/mocks/style.scss +++ b/popup/src/components/mocks/style.scss @@ -2,6 +2,10 @@ width: 350px; } +.mock-service__select { + margin-bottom: 5px; +} + .lds-grid { display: inline-block; position: relative; diff --git a/popup/src/components/mocks/template.html b/popup/src/components/mocks/template.html index 917c43e..310e8c7 100644 --- a/popup/src/components/mocks/template.html +++ b/popup/src/components/mocks/template.html @@ -1,8 +1,8 @@
-
-
XTEE MTA
+
+
MTA
-
-
XTEE RIA
+
+
Ria
+
+
Scoring
+
+ +
+