fix: Fix the create member disappear when status is changing
Show create member when status is from PENDING_UPDATE to ACTIVE Change-Id: I594be49113215e2cb9b950d61dae810f6608d61c
This commit is contained in:
parent
ee0f721760
commit
6872acf19b
@ -52,6 +52,10 @@ export default class Members extends Base {
|
||||
return this.params.id;
|
||||
}
|
||||
|
||||
get forceRefreshTopDetailWhenListRefresh() {
|
||||
return true;
|
||||
}
|
||||
|
||||
get actionConfigs() {
|
||||
if (this.isAdminPage) {
|
||||
return adminActions;
|
||||
|
@ -35,6 +35,7 @@ export default class LoadBalancerDetail extends Base {
|
||||
const newParams = {
|
||||
...this.params,
|
||||
...(params || {}),
|
||||
silent: true,
|
||||
all_projects: this.isAdminPage,
|
||||
};
|
||||
this.store.fetchDetailWithFip(newParams).catch(this.catch);
|
||||
|
@ -111,8 +111,10 @@ export class LbaasStore extends Base {
|
||||
}
|
||||
|
||||
@action
|
||||
async fetchDetailWithFip({ id, all_projects }) {
|
||||
this.isLoading = true;
|
||||
async fetchDetailWithFip({ id, all_projects, silent }) {
|
||||
if (!silent) {
|
||||
this.isLoading = true;
|
||||
}
|
||||
const result = await this.client.show(
|
||||
id,
|
||||
this.getDetailParams({ all_projects })
|
||||
|
Loading…
Reference in New Issue
Block a user