UI: Rename Persistent table widget; Fixed double text in data not resolve; Rename widget settings
This commit is contained in:
parent
29ccfaa23e
commit
6c32e4c767
File diff suppressed because one or more lines are too long
@ -107,7 +107,7 @@
|
||||
<mat-row *matRowDef="let column; columns: displayedColumns"
|
||||
[fxShow]="!persistentDatasource.dataLoading"></mat-row>
|
||||
</table>
|
||||
<span [fxShow]="(persistentDatasource.isEmpty() | async) && !persistentDatasource.dataLoading"
|
||||
<span [fxShow]="(persistentDatasource.isEmpty() | async) && !persistentDatasource.dataLoading && hasData"
|
||||
fxLayoutAlign="center center"
|
||||
class="no-data-found">{{ noDataDisplayMessageText }}</span>
|
||||
<span [fxShow]="persistentDatasource.dataLoading"
|
||||
|
||||
@ -134,6 +134,7 @@ export class PersistentTableComponent extends PageComponent implements OnInit {
|
||||
public actionCellButtonAction: PersistentTableWidgetActionDescriptor[] = [];
|
||||
public displayedColumns: string[];
|
||||
public hidePageSize = false;
|
||||
hasData = false;
|
||||
|
||||
constructor(protected store: Store<AppState>,
|
||||
private elementRef: ElementRef,
|
||||
@ -154,6 +155,7 @@ export class PersistentTableComponent extends PageComponent implements OnInit {
|
||||
this.widgetConfig = this.ctx.widgetConfig;
|
||||
this.subscription = this.ctx.defaultSubscription;
|
||||
this.initializeConfig();
|
||||
this.hasData = this.ctx.defaultSubscription.hasResolvedData;
|
||||
this.ctx.updateWidgetParams();
|
||||
if (this.displayPagination) {
|
||||
this.widgetResize$ = new ResizeObserver(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user