Skip to content

Commit

Permalink
manager: smoother myplanet reports and logs (fixes #8173) (#8174)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
jessewashburn and dogi authored Jan 31, 2025
1 parent 05a545f commit 641a778
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.90",
"version": "0.16.91",
"myplanet": {
"latest": "v0.22.63",
"min": "v0.21.63"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<mat-toolbar-row class="primary-color font-size-1">
<span i18n>myPlanet</span>
<span class="toolbar-fill"></span>
<button mat-raised-button color="accent" (click)="exportAll()">
<button mat-raised-button color="accent" (click)="exportAll()" *ngIf="!isEmpty">
Export All
</button>
</mat-toolbar-row>
Expand All @@ -26,7 +26,7 @@
<mat-panel-title>{{planet.nameDoc?.name || planet.doc?.name}} ({{planet.children.length}})</mat-panel-title>
</mat-expansion-panel-header>
<planet-myplanet-table dataType="logs" [data]="planet.children"></planet-myplanet-table>
<button mat-raised-button color="accent" (click)="exportSingle(planet)" style="margin-right: 2rem;">
<button mat-raised-button color="accent" (click)="exportSingle(planet)" style="margin-right: 2rem;" *ngIf="!isEmpty">
Export
</button>
</mat-expansion-panel>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<mat-toolbar-row class="primary-color font-size-1">
<span i18n>myPlanet on { planetType, select, center {Nations} other {Communities} }</span>
<span class="toolbar-fill"></span>
<button mat-raised-button color="accent" (click)="exportAll()">
<button mat-raised-button color="accent" (click)="exportAll()" *ngIf="!isEmpty">
Export All
</button>
</mat-toolbar-row>
Expand All @@ -41,7 +41,7 @@
<mat-panel-title>{{planet.nameDoc?.name || planet.doc?.name}} ({{planet.children.length}})</mat-panel-title>
</mat-expansion-panel-header>
<planet-myplanet-table [data]="planet.children"></planet-myplanet-table>
<button mat-raised-button color="accent" (click)="exportSingle(planet)" style="margin-right: 2rem;">
<button mat-raised-button color="accent" (click)="exportSingle(planet)" style="margin-right: 2rem;" *ngIf="!isEmpty">
Export
</button>
</mat-expansion-panel>
Expand Down

0 comments on commit 641a778

Please sign in to comment.