diff --git a/.azuredevops/pipelines/publish-job.yml b/.azuredevops/pipelines/publish-job.yml index 8f836d8b8..78697830b 100644 --- a/.azuredevops/pipelines/publish-job.yml +++ b/.azuredevops/pipelines/publish-job.yml @@ -98,3 +98,21 @@ stages: isPreRelease: true changeLogCompareToRelease: 'lastNonDraftRelease' changeLogType: 'commitBased' + + - task: PowerShell@2 + displayName: "Trigger APT build" + inputs: + targetType: 'inline' + script: | + $body = @{ + "ref"="main" + "inputs"= @{"version"= "$(gitTag)"} + } | ConvertTo-Json + + $header = @{ + "Accept"="application/vnd.github.v3+json" + "Authorization"="Bearer $(APTPAT)" + "User-Agent"="Ombi" + } + + Invoke-RestMethod -Uri "https://api.github.com/repos/Ombi-app/Ombi.Apt/actions/workflows/build-deb.yml/dispatches" -Method 'Post' -Body $body -Headers $header \ No newline at end of file diff --git a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss index b927176fd..ec2dbae3b 100644 --- a/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss +++ b/src/Ombi/ClientApp/src/app/discover/components/card/discover-card.component.scss @@ -256,6 +256,7 @@ a.poster-overlay:hover{ ::ng-deep .ombi-card .button-request-container .button-request{ padding-right:0px; padding-left:0px; + width:100%; } .c:hover .button-request-container { diff --git a/src/Ombi/ClientApp/src/app/issues/issues.component.ts b/src/Ombi/ClientApp/src/app/issues/issues.component.ts index c97eb4eff..b8482f1ff 100644 --- a/src/Ombi/ClientApp/src/app/issues/issues.component.ts +++ b/src/Ombi/ClientApp/src/app/issues/issues.component.ts @@ -4,6 +4,8 @@ import { IssuesService } from "../services"; import { IIssueCount, IIssues, IPagenator, IssueStatus } from "../interfaces"; +import { PageEvent } from '@angular/material/paginator'; + @Component({ templateUrl: "issues.component.html", styleUrls: ['issues.component.scss'] @@ -16,7 +18,7 @@ export class IssuesComponent implements OnInit { public count: IIssueCount; - private takeAmount = 10; + private takeAmount = 50; private pendingSkip = 0; private inProgressSkip = 0; private resolvedSkip = 0; @@ -30,18 +32,18 @@ export class IssuesComponent implements OnInit { this.issueService.getIssuesCount().subscribe(x => this.count = x); } - public changePagePending(event: IPagenator) { - this.pendingSkip = event.first; + public changePagePending(event: PageEvent) { + this.pendingSkip = event.pageSize * event.pageIndex++; this.getPending(); } - public changePageInProg(event: IPagenator) { - this.inProgressSkip = event.first; + public changePageInProg(event: PageEvent) { + this.inProgressSkip = event.pageSize * event.pageIndex++; this.getInProg(); } - public changePageResolved(event: IPagenator) { - this.resolvedSkip = event.first; + public changePageResolved(event: PageEvent) { + this.resolvedSkip = event.pageSize * event.pageIndex++; this.getResolved(); } diff --git a/src/Ombi/ClientApp/src/app/issues/issuestable.component.html b/src/Ombi/ClientApp/src/app/issues/issuestable.component.html index 8713d09b2..e266a718a 100644 --- a/src/Ombi/ClientApp/src/app/issues/issuestable.component.html +++ b/src/Ombi/ClientApp/src/app/issues/issuestable.component.html @@ -26,94 +26,17 @@