Skip to content

Commit

Permalink
fix: pass the copy of opbject to avoid modyfing an original one
Browse files Browse the repository at this point in the history
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
  • Loading branch information
vzhukovs committed Aug 9, 2022
1 parent f531eb7 commit 7c28cbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ function toggleRegistryModal(): void {
<PreferencesRegistriesEditCreateRegistryModal
toggleCallback="{toggleRegistryModal}"
mode="{preferencesMode}"
registry="{selectedRegistry}" />
registry="{{ ...selectedRegistry }}" />
</Modal>
{/if}

0 comments on commit 7c28cbd

Please sign in to comment.