Update NSG theme, also refactor some code
This commit is contained in:
parent
a422777f71
commit
6f6859d309
Binary file not shown.
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 64 KiB |
Binary file not shown.
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 43 KiB |
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 21 KiB |
@ -62,7 +62,7 @@ export default class extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get symbol(): string {
|
get symbol(): string {
|
||||||
return nodecg.bundleConfig.event.currency?.symbol || '$';
|
return nodecg.bundleConfig.event.currency.symbol || '$';
|
||||||
}
|
}
|
||||||
|
|
||||||
async created(): Promise<void> {
|
async created(): Promise<void> {
|
||||||
|
@ -155,8 +155,8 @@ export default class extends Vue {
|
|||||||
|
|
||||||
get totalStr(): string {
|
get totalStr(): string {
|
||||||
// "Reset" value every 10k, specific to ESA Legends 2023.
|
// "Reset" value every 10k, specific to ESA Legends 2023.
|
||||||
const symbol = nodecg.bundleConfig.event.currency.symbol;
|
const { symbol } = nodecg.bundleConfig.event.currency;
|
||||||
const countryCode = nodecg.bundleConfig.event.currency.countryCode;
|
const { countryCode } = nodecg.bundleConfig.event.currency;
|
||||||
|
|
||||||
const esal23 = nodecg.bundleConfig.event.shorts === 'esal23';
|
const esal23 = nodecg.bundleConfig.event.shorts === 'esal23';
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user