fix: Fix the create listener disappear when status is changing
Show create listener when status is from PENDING_UPDATE to ACTIVE Change-Id: I2571548c89ae4b37a5f09d54d277064bd2d6ba5d
This commit is contained in:
parent
17f029b8ad
commit
c185571953
@ -407,6 +407,10 @@ export default class BaseList extends React.Component {
|
||||
return 'all_projects';
|
||||
}
|
||||
|
||||
get forceRefreshTopDetailWhenListRefresh() {
|
||||
return false;
|
||||
}
|
||||
|
||||
setRefreshdataTimerTransition = () => {
|
||||
this.stopRefreshAuto();
|
||||
if (this.dataTimerTransition) {
|
||||
@ -904,7 +908,11 @@ export default class BaseList extends React.Component {
|
||||
silent: !force,
|
||||
};
|
||||
this.handleFetch(params, true);
|
||||
if (this.inDetailPage && force && this.shouldRefreshDetail) {
|
||||
if (
|
||||
this.inDetailPage &&
|
||||
(force || this.forceRefreshTopDetailWhenListRefresh) &&
|
||||
this.shouldRefreshDetail
|
||||
) {
|
||||
this.refreshDetailData();
|
||||
}
|
||||
};
|
||||
|
@ -50,6 +50,10 @@ export default class Listeners extends Base {
|
||||
return true;
|
||||
}
|
||||
|
||||
get forceRefreshTopDetailWhenListRefresh() {
|
||||
return true;
|
||||
}
|
||||
|
||||
get actionConfigs() {
|
||||
if (this.isAdminPage) {
|
||||
return adminActions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user