diff --git a/package.json b/package.json index b29c7b0a..b908326e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "ng build --prod --extraWebpackConfig webpack.extra.js --progress=false", "test": "ng test", "test-ci": "ng run dashboard:test-ci", - "lint": "eslint \"src/**/*.{ts,js,html}\" --max-warnings 2174 --cache", + "lint": "eslint \"src/**/*.{ts,js,html}\" --max-warnings 2171 --cache", "lint-errors": "npm run lint -- --quiet", "lint-fix": "npm run lint -- --fix", "e2e": "ng e2e", diff --git a/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.component.html b/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.component.html index f7fa0fa3..8095a1e9 100644 --- a/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.component.html +++ b/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.component.html @@ -1,37 +1,30 @@ -
- - - - -
- - -
- +
+
+ {{ t('reverts') }} +
+
+ {{ t('loading') }}
- - - - -
- {{ t('reverts') }} -
-
- {{ t('noReverts') }} -
- -
- -
- {{ t('revert') }} #{{ revert.id }} -
- +
+ {{ t('noReverts') }} +
+ +
+ +
+ {{ t('revert') }} #{{ revert.id }}
- + +
- + +
diff --git a/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.module.ts b/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.module.ts index 1c1a1063..4315212d 100644 --- a/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.module.ts +++ b/src/app/sections/wallet-section/deposits/deposit-panels/deposit-reverts/deposit-reverts.module.ts @@ -5,6 +5,7 @@ import { MatDividerModule } from '@angular/material/divider'; import { TranslocoModule } from '@ngneat/transloco'; import { DepositRevertDetailsModule } from '@dsh/app/shared'; +import { ButtonModule } from '@dsh/components/buttons'; import { IndicatorsModule } from '@dsh/components/indicators'; import { ShowMorePanelModule } from '@dsh/components/show-more-panel'; @@ -20,6 +21,7 @@ import { DepositRevertsComponent } from './deposit-reverts.component'; MatDividerModule, DepositRevertDetailsModule, TranslocoModule, + ButtonModule, ], exports: [DepositRevertsComponent], }) diff --git a/src/assets/i18n/deposit-reverts/ru.json b/src/assets/i18n/deposit-reverts/ru.json index 60e8bd68..e4015480 100644 --- a/src/assets/i18n/deposit-reverts/ru.json +++ b/src/assets/i18n/deposit-reverts/ru.json @@ -1,4 +1,5 @@ { "reverts": "Отмены", - "noReverts": "Отмены отсутствуют" + "noReverts": "Отмены отсутствуют", + "loading": "Загрузка..." }