Updates to Revenue report.
This commit is contained in:
@@ -50,6 +50,7 @@ export function Panel({
|
||||
borderRadius="3"
|
||||
backgroundColor
|
||||
position="relative"
|
||||
overflowX="hidden"
|
||||
gap
|
||||
{...props}
|
||||
style={{ ...style, ...(isFullscreen ? fullscreenStyles : {}) }}
|
||||
|
||||
@@ -14,7 +14,7 @@ export function TypeIcon({
|
||||
<Row gap="3" alignItems="center">
|
||||
<img
|
||||
src={`${process.env.basePath || ''}/images/${type}/${
|
||||
value?.replaceAll(' ', '-').toLowerCase() || 'xx'
|
||||
value?.replaceAll(' ', '-').toLowerCase() || 'unknown'
|
||||
}.png`}
|
||||
onError={e => {
|
||||
e.currentTarget.src = `${process.env.basePath || ''}/images/${type}/unknown.png`;
|
||||
|
||||
Reference in New Issue
Block a user