- {page === '2' ? (
+ {page === '2' && isRequestingAccounts ? (
this.goBack()}
@@ -178,9 +206,11 @@ export default class PermissionConnect extends Component {
{t('back')}
) : null}
-
- {t('xOfY', [page, '2'])}
-
+ {isRequestingAccounts ? (
+
+ {t('xOfY', [page, totalPages])}
+
+ ) : null}
);
}
@@ -197,6 +227,9 @@ export default class PermissionConnect extends Component {
permissionsRequestId,
connectPath,
confirmPermissionPath,
+ ///: BEGIN:ONLY_INCLUDE_IN(flask)
+ snapInstallPath,
+ ///: END:ONLY_INCLUDE_IN
} = this.props;
const {
selectedAccountAddresses,
@@ -257,6 +290,29 @@ export default class PermissionConnect extends Component {
/>
)}
/>
+ {
+ ///: BEGIN:ONLY_INCLUDE_IN(flask)
+ }
+