web/satellite: api key validation bug fixed (#3227)
This commit is contained in:
parent
4ba4d03fbf
commit
8170eb8d23
@ -201,12 +201,8 @@ export default class ApiKeysArea extends Vue {
|
||||
pagination: HTMLElement & ResetPagination;
|
||||
};
|
||||
|
||||
public mounted(): void {
|
||||
this.$store.dispatch(FETCH, this.FIRST_PAGE);
|
||||
}
|
||||
|
||||
public async beforeDestroy(): Promise<void> {
|
||||
await this.$store.dispatch(API_KEYS_ACTIONS.CLEAR);
|
||||
await this.$store.dispatch(API_KEYS_ACTIONS.CLEAR_SELECTION);
|
||||
}
|
||||
|
||||
public async toggleSelection(apiKey: ApiKey): Promise<void> {
|
||||
|
@ -92,6 +92,7 @@ export default class ApiKeysCreationPopup extends Vue {
|
||||
this.$store.dispatch(NOTIFICATION_ACTIONS.SUCCESS, 'Successfully created new api key');
|
||||
this.key = createdApiKey.secret;
|
||||
this.isLoading = false;
|
||||
this.name = '';
|
||||
|
||||
try {
|
||||
this.$store.dispatch(API_KEYS_ACTIONS.FETCH, this.FIRST_PAGE);
|
||||
|
Loading…
Reference in New Issue
Block a user