Skip to content

Commit

Permalink
Merge pull request #737 from wsmirnow/add-asset-items-format
Browse files Browse the repository at this point in the history
Hide type and flavor of add asset items
  • Loading branch information
Arnei authored Jun 26, 2024
2 parents 6af6f03 + a2f7946 commit 97a61d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ const EventDetailsAssetsAddAsset = ({
<td>
{" "}
{translateOverrideFallback(asset, t)}
<span className="ui-helper-hidden">
{/* eslint-disable-next-line react/jsx-no-comment-textnodes */}
({asset.type} "{asset.flavorType}//
{asset.flavorSubType}")
</span>
</td>
<td>
<div className="file-upload">
Expand Down
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 97a61d6

Please sign in to comment.