fix: fix the pagination in the vpns pages

Fix the pagination in the vpns pages: vpn gateways tab, vpn endpoint groups tab, ike policies tab, ipsec policies tab, ipsec site connections tab

Closes-Bug: #1991168
Change-Id: Ic52565c68282aa1914c59d8eb69940773034aef8
This commit is contained in:
Jingwei.Zhang 2022-09-29 10:58:44 +08:00
parent ed8c6e69b0
commit be289f56cb
5 changed files with 20 additions and 0 deletions

View File

@ -52,6 +52,10 @@ export class EndpointGroup extends Base {
return true;
}
get hasTab() {
return true;
}
get actionConfigs() {
if (this.isAdminPage) {
return adminConfigs;

View File

@ -51,6 +51,10 @@ export class IKEPolicy extends Base {
return true;
}
get hasTab() {
return true;
}
get actionConfigs() {
if (this.isAdminPage) {
return adminConfigs;

View File

@ -52,6 +52,10 @@ export class IPsecPolicy extends Base {
return true;
}
get hasTab() {
return true;
}
get actionConfigs() {
if (this.isAdminPage) {
return adminConfigs;

View File

@ -45,6 +45,10 @@ export class IPsecSiteConnection extends Base {
return true;
}
get hasTab() {
return true;
}
get actionConfigs() {
if (this.isAdminPage) {
return adminConfigs;

View File

@ -42,6 +42,10 @@ export class VPNGateway extends Base {
return t('vpn services');
}
get hasTab() {
return true;
}
get adminPageHasProjectFilter() {
return true;
}