Skip to content

Commit

Permalink
New event summary should also hide asset type and flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmirnow committed Jun 25, 2024
1 parent d4a7fff commit a2f7946
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/events/partials/wizards/NewEventSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ const NewEventSummary = <T extends RequiredFormProps>({
let uploadAssetsNonTrack: {
name: string,
translate?: string,
type: string,
flavorType: string,
flavorSubType: string,
value: any,
}[] = [];
for (let i = 0; uploadAssetsOptionsNonTrack.length > i; i++) {
Expand All @@ -80,9 +77,6 @@ const NewEventSummary = <T extends RequiredFormProps>({
translate: !!displayOverride
? t(displayOverride)
: translateOverrideFallback(uploadAssetsOptionsNonTrack[i], t),
type: uploadAssetsOptionsNonTrack[i].type,
flavorType: uploadAssetsOptionsNonTrack[i].flavorType,
flavorSubType: uploadAssetsOptionsNonTrack[i].flavorSubType,
value: fieldValue,
});
}
Expand Down Expand Up @@ -135,11 +129,6 @@ const NewEventSummary = <T extends RequiredFormProps>({
<tr key={key}>
<td>
{asset.translate}
<span className="ui-helper-hidden">
{/* eslint-disable-next-line react/jsx-no-comment-textnodes */}
({asset.type} "{asset.flavorType}//
{asset.flavorSubType}")
</span>
</td>
<td>{asset.value.name}</td>
</tr>
Expand Down Expand Up @@ -167,11 +156,6 @@ const NewEventSummary = <T extends RequiredFormProps>({
<tr key={key}>
<td>
{translateOverrideFallback(asset, t, "SHORT")}
<span className="ui-helper-hidden">
{/* eslint-disable-next-line react/jsx-no-comment-textnodes */}
({asset.type} "{asset.flavorType}/
{asset.flavorSubType}")
</span>
</td>
<td>{asset.file[0].name}</td>
</tr>
Expand Down

0 comments on commit a2f7946

Please sign in to comment.