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;
|
return this.params.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get forceRefreshTopDetailWhenListRefresh() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
get actionConfigs() {
|
get actionConfigs() {
|
||||||
if (this.isAdminPage) {
|
if (this.isAdminPage) {
|
||||||
return adminActions;
|
return adminActions;
|
||||||
|
@ -35,6 +35,7 @@ export default class LoadBalancerDetail extends Base {
|
|||||||
const newParams = {
|
const newParams = {
|
||||||
...this.params,
|
...this.params,
|
||||||
...(params || {}),
|
...(params || {}),
|
||||||
|
silent: true,
|
||||||
all_projects: this.isAdminPage,
|
all_projects: this.isAdminPage,
|
||||||
};
|
};
|
||||||
this.store.fetchDetailWithFip(newParams).catch(this.catch);
|
this.store.fetchDetailWithFip(newParams).catch(this.catch);
|
||||||
|
@ -111,8 +111,10 @@ export class LbaasStore extends Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
async fetchDetailWithFip({ id, all_projects }) {
|
async fetchDetailWithFip({ id, all_projects, silent }) {
|
||||||
this.isLoading = true;
|
if (!silent) {
|
||||||
|
this.isLoading = true;
|
||||||
|
}
|
||||||
const result = await this.client.show(
|
const result = await this.client.show(
|
||||||
id,
|
id,
|
||||||
this.getDetailParams({ all_projects })
|
this.getDetailParams({ all_projects })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user