Skip to content

Commit ba3644c

Browse files
lucasgoralCopilot
andauthored
Update src/utils/removeManagedFieldsAndFilterData.ts
Co-authored-by: Copilot <[email protected]>
1 parent 411f406 commit ba3644c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/removeManagedFieldsAndFilterData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const removeManagedFieldsAndFilterData = (resourceObject: Resource, showO
5050
...item.metadata,
5151
managedFields: undefined,
5252
annotations: {
53-
...resourceObject.metadata.annotations,
53+
...item.metadata.annotations,
5454
[LAST_APPLIED_CONFIGURATION_ANNOTATION]: showOnlyImportantData
5555
? undefined
5656
: resourceObject?.metadata?.annotations?.[LAST_APPLIED_CONFIGURATION_ANNOTATION],

0 commit comments

Comments
 (0)