From 7a796363aac1088b3d255180d2a80944b61506ea Mon Sep 17 00:00:00 2001 From: Abdul-rahman Yasir Khalil Date: Tue, 7 May 2024 12:05:42 +0300 Subject: [PATCH] fix: activate request trial for git sync, project members and audit logs --- .../audit-event-table/audit-event-table.component.html | 3 ++- .../project-members-table.component.html | 1 + .../lib/components/upgrade-note/upgrade-note.component.ts | 7 +------ .../components/sync-project/sync-project.component.html | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/ee/ui/platform/src/lib/components/audit-event-table/audit-event-table.component.html b/packages/ee/ui/platform/src/lib/components/audit-event-table/audit-event-table.component.html index 8c8a0790ec..a1a145189a 100644 --- a/packages/ee/ui/platform/src/lib/components/audit-event-table/audit-event-table.component.html +++ b/packages/ee/ui/platform/src/lib/components/audit-event-table/audit-event-table.component.html @@ -1,7 +1,8 @@
@if(featureLocked) { + featureKey="AUDIT_LOGS" + > } @else { diff --git a/packages/ee/ui/project-members/src/lib/project-members-table/project-members-table.component.html b/packages/ee/ui/project-members/src/lib/project-members-table/project-members-table.component.html index c249c22480..f5f6580a97 100644 --- a/packages/ee/ui/project-members/src/lib/project-members-table/project-members-table.component.html +++ b/packages/ee/ui/project-members/src/lib/project-members-table/project-members-table.component.html @@ -2,6 +2,7 @@ @if(isFeatureLocked) {
diff --git a/packages/ui/common/src/lib/components/upgrade-note/upgrade-note.component.ts b/packages/ui/common/src/lib/components/upgrade-note/upgrade-note.component.ts index 33e2e50193..9e1b7fa8a4 100644 --- a/packages/ui/common/src/lib/components/upgrade-note/upgrade-note.component.ts +++ b/packages/ui/common/src/lib/components/upgrade-note/upgrade-note.component.ts @@ -12,20 +12,15 @@ import { fadeIn400ms } from '../../animation/fade-in.animations'; animations: [fadeIn400ms], }) export class UpgradeNoteComponent { - @Input() docsLink = ''; @Input({ required: true }) featureNoteTitle = ''; @Input({ required: true }) featureNote = ''; @Input() videoUrl = ''; - @Input() featureKey: FeatureKey; + @Input({ required: true }) featureKey: FeatureKey; constructor(private contactSalesService: ContactSalesService) {} @Input() insideTab = false; - openDocs() { - window.open(this.docsLink, '_blank', 'noopener noreferrer'); - } - openContactSales(): void { this.contactSalesService.open([this.featureKey]); } diff --git a/packages/ui/feature-git-sync/src/lib/components/sync-project/sync-project.component.html b/packages/ui/feature-git-sync/src/lib/components/sync-project/sync-project.component.html index 68cf6538c7..38445d837c 100644 --- a/packages/ui/feature-git-sync/src/lib/components/sync-project/sync-project.component.html +++ b/packages/ui/feature-git-sync/src/lib/components/sync-project/sync-project.component.html @@ -2,7 +2,7 @@ @if(showUpgrade) { + featureKey="GIT_SYNC"> } @else {