|
|
@ -1,8 +1,8 @@ |
|
|
import { UserService } from '@ghostfolio/client/services/user/user.service'; |
|
|
import { UserService } from '@ghostfolio/client/services/user/user.service'; |
|
|
import { |
|
|
import { |
|
|
DEFAULT_COLOR_SCHEME, |
|
|
DEFAULT_COLOR_SCHEME, |
|
|
DEFAULT_PAGE_SIZE, |
|
|
DEFAULT_LOCALE, |
|
|
locale |
|
|
DEFAULT_PAGE_SIZE |
|
|
} from '@ghostfolio/common/config'; |
|
|
} from '@ghostfolio/common/config'; |
|
|
import { |
|
|
import { |
|
|
canDeleteAssetProfile, |
|
|
canDeleteAssetProfile, |
|
|
@ -429,7 +429,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
colorScheme: |
|
|
colorScheme: |
|
|
this.user?.settings.colorScheme ?? DEFAULT_COLOR_SCHEME, |
|
|
this.user?.settings.colorScheme ?? DEFAULT_COLOR_SCHEME, |
|
|
deviceType: this.deviceType(), |
|
|
deviceType: this.deviceType(), |
|
|
locale: this.user?.settings?.locale ?? locale |
|
|
locale: this.user?.settings?.locale ?? DEFAULT_LOCALE |
|
|
} satisfies AssetProfileDialogParams, |
|
|
} satisfies AssetProfileDialogParams, |
|
|
height: this.deviceType() === 'mobile' ? '98vh' : '80vh', |
|
|
height: this.deviceType() === 'mobile' ? '98vh' : '80vh', |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
@ -464,7 +464,7 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { |
|
|
autoFocus: false, |
|
|
autoFocus: false, |
|
|
data: { |
|
|
data: { |
|
|
deviceType: this.deviceType(), |
|
|
deviceType: this.deviceType(), |
|
|
locale: this.user?.settings?.locale ?? locale |
|
|
locale: this.user?.settings?.locale ?? DEFAULT_LOCALE |
|
|
} satisfies CreateAssetProfileDialogParams, |
|
|
} satisfies CreateAssetProfileDialogParams, |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
}); |
|
|
}); |
|
|
|