diff --git a/libs/ui/src/lib/ui.module.ts b/libs/ui/src/lib/ui.module.ts
index c41054ccc..60de72e7c 100644
--- a/libs/ui/src/lib/ui.module.ts
+++ b/libs/ui/src/lib/ui.module.ts
@@ -1,15 +1,12 @@
-import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
+import { NgModule } from '@angular/core';
+
import { ValueComponent } from './value/value.component';
// import { GfValueModule } from './value/value.module';
@NgModule({
- imports: [CommonModule/*, GfValueModule*/],
- declarations: [
- ValueComponent
- ],
- exports: [
- ValueComponent
- ]
+ imports: [CommonModule /*, GfValueModule*/],
+ declarations: [ValueComponent],
+ exports: [ValueComponent]
})
export class UiModule {}
diff --git a/libs/ui/src/lib/value/value.component.html b/libs/ui/src/lib/value/value.component.html
index cbaa85379..daa585adb 100644
--- a/libs/ui/src/lib/value/value.component.html
+++ b/libs/ui/src/lib/value/value.component.html
@@ -1,46 +1,45 @@
-
-
- 0" class="mr-1 text-success">+
- -
-
- {{ formattedValue }}%
-
-
-
- ***
-
-
- {{ formattedValue }}
-
-
-
- {{ currency }}
-
-
- {{ currency }}
-
-
-
-
- {{ formattedDate }}
-
-
-
-
- {{ label }}
-
-
-
-
-
\ No newline at end of file
+
+
+ 0" class="mr-1 text-success">+
+ -
+
+ {{ formattedValue }}%
+
+
+
+ ***
+
+
+ {{ formattedValue }}
+
+
+
+ {{ currency }}
+
+
+ {{ currency }}
+
+
+
+
+ {{ formattedDate }}
+
+
+
+
+ {{ label }}
+
+
+
+
diff --git a/libs/ui/src/lib/value/value.component.spec.ts b/libs/ui/src/lib/value/value.component.spec.ts
index 8ae136138..d0e7682c4 100644
--- a/libs/ui/src/lib/value/value.component.spec.ts
+++ b/libs/ui/src/lib/value/value.component.spec.ts
@@ -8,9 +8,8 @@ describe('ValueComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
- declarations: [ ValueComponent ]
- })
- .compileComponents();
+ declarations: [ValueComponent]
+ }).compileComponents();
});
beforeEach(() => {
diff --git a/libs/ui/src/lib/value/value.component.stories.ts b/libs/ui/src/lib/value/value.component.stories.ts
index 7bd7fe156..33ee10522 100644
--- a/libs/ui/src/lib/value/value.component.stories.ts
+++ b/libs/ui/src/lib/value/value.component.stories.ts
@@ -1,5 +1,6 @@
-import { moduleMetadata, Story, Meta } from '@storybook/angular';
+import { Meta, Story, moduleMetadata } from '@storybook/angular';
import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
+
import { ValueComponent } from './value.component';
export default {
@@ -7,26 +8,26 @@ export default {
component: ValueComponent,
decorators: [
moduleMetadata({
- imports: [NgxSkeletonLoaderModule],
+ imports: [NgxSkeletonLoaderModule]
})
- ],
+ ]
} as Meta;
const Template: Story = (args: ValueComponent) => ({
- props: args,
+ props: args
});
export const Loading = Template.bind({});
Loading.args = {
value: undefined
-}
+};
export const Integer = Template.bind({});
Integer.args = {
isInteger: true,
locale: 'en',
value: 7
-}
+};
export const Currency = Template.bind({});
Currency.args = {
@@ -35,4 +36,4 @@ Currency.args = {
label: 'Label',
locale: 'en',
value: 7
-}
+};
diff --git a/libs/ui/src/lib/value/value.component.ts b/libs/ui/src/lib/value/value.component.ts
index 1d7e564e7..869392003 100644
--- a/libs/ui/src/lib/value/value.component.ts
+++ b/libs/ui/src/lib/value/value.component.ts
@@ -2,7 +2,7 @@ import {
ChangeDetectionStrategy,
Component,
Input,
- OnChanges,
+ OnChanges
} from '@angular/core';
import { DEFAULT_DATE_FORMAT } from '@ghostfolio/common/config';
import { format, isDate } from 'date-fns';