Skip to content

Commit ee2251a

Browse files
committed
feat(FR-871): improve visibility of committed container names
1 parent 7628526 commit ee2251a

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

react/src/components/AliasedImageDoubleTags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const AliasedImageDoubleTags: React.FC<AliasedImageDoubleTagsProps> = ({
5050
return _.isEqual(
5151
aliasedTag,
5252
preserveDotStartCase(tag.key + tagValue),
53-
) ? (
53+
) || isCustomized ? (
5454
<DoubleTag
5555
key={tag.key}
5656
highlightKeyword={highlightKeyword}

react/src/components/ImageEnvironmentSelectFormItems.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ const ImageEnvironmentSelectFormItems: React.FC<
723723
return _.isEqual(
724724
aliasedTag,
725725
preserveDotStartCase(tag.key + tagValue),
726-
) ? (
726+
) || isCustomized ? (
727727
<DoubleTag
728728
key={tag.key}
729729
highlightKeyword={versionSearch}

react/src/components/ImageList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ const ImageList: React.FC<{ style?: React.CSSProperties }> = ({ style }) => {
225225
return _.isEqual(
226226
aliasedTag,
227227
preserveDotStartCase(tag.key + tagValue),
228-
) ? (
228+
) || isCustomized ? (
229229
<DoubleTag
230230
key={tag.key}
231231
highlightKeyword={imageSearch}

react/src/components/ImageTags.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const ImageTags: React.FC<ImageTagsProps> = ({
170170
const [, { getTags, tagAlias }] = useBackendAIImageMetaData();
171171
const tags = getTags(tag, labels);
172172
return (
173-
<>
173+
<React.Fragment {...props}>
174174
{_.map(tags, (tag: { key: string; value: string }, index) => {
175175
const isCustomized = tag.key === 'Customized';
176176
const aliasedTag = tagAlias(tag.key + tag.value);
@@ -200,6 +200,6 @@ export const ImageTags: React.FC<ImageTagsProps> = ({
200200
</Tag>
201201
);
202202
})}
203-
</>
203+
</React.Fragment>
204204
);
205205
};

react/src/components/SessionLauncherPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const SessionLauncherPreview: React.FC<{
228228
return _.isEqual(
229229
aliasedTag,
230230
preserveDotStartCase(tag.key + tagValue),
231-
) ? (
231+
) || isCustomized ? (
232232
<DoubleTag
233233
key={tag.key}
234234
values={[

0 commit comments

Comments
 (0)