Skip to content

Commit

Permalink
fix: activate request trial for git sync, project members and audit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulTheActivePiecer committed May 7, 2024
1 parent 67b48fb commit 7a79636
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<div class="ap-w-full ap-pt-2">
@if(featureLocked) {
<ap-upgrade-note [insideTab]="true" class="ap-mb-2" [featureNoteTitle]="upgradeNoteTitle" [featureNote]="upgradeNote"
docsLink="https://www.activepieces.com/docs/operations/audit-logs"></ap-upgrade-note>
featureKey="AUDIT_LOGS"
></ap-upgrade-note>
} @else {

<table mat-table [dataSource]="dataSource" class="ap-w-[100%]" i18n-aria-label aria-label="Audit Events">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@if(isFeatureLocked) {
<div class="ap-mb-4">
<ap-upgrade-note
featureKey="PROJECTS"
[featureNoteTitle]="upgradeNoteTitle"
[featureNote]="upgradeNote"
></ap-upgrade-note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@if(showUpgrade)
{
<ap-upgrade-note [insideTab]="true" [featureNoteTitle]="upgradeNoteTitle" [featureNote]="upgradeNote"
docsLink="https://www.activepieces.com/docs/operations/git-sync"></ap-upgrade-note>
featureKey="GIT_SYNC"></ap-upgrade-note>
} @else {
<div class="ap-h-full">
<div apCard
Expand Down

0 comments on commit 7a79636

Please sign in to comment.