@ -9,7 +9,6 @@ import { DataSource } from '@prisma/client';
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
selector: 'gf-asset-profile-icon',
styleUrls: ['./asset-profile-icon.component.scss'],
@ -61,8 +61,7 @@
width: '100%'
}"
/>
}
@if (!isLoading) {
} @else {
<div class="px-2 py-1" i18n>No entries...</div>
@ -90,8 +89,7 @@
@ -9,7 +9,6 @@ import {
selector: 'gf-data-provider-credits',
styleUrls: ['./data-provider-credits.component.scss'],
@ -33,8 +33,7 @@
{{ formattedValue }}%
</div>
@if (!isPercent) {
<div
class="mb-0 value"
[ngClass]="{
@ -50,14 +49,15 @@
@if (unit && size === 'medium') {
<small class="ml-1">
{{ unit }}
</small>
@if (unit && size !== 'medium') {
<div class="ml-1">
@if (size === 'medium') {
@if (isString) {
@ -95,8 +95,7 @@
<span class="text-muted"> {{ subLabel }}</span>
@if (size !== 'large') {
<small class="d-block text-truncate">
<ng-container *ngTemplateOutlet="label"></ng-container>