Skip to content

Commit

Permalink
refactor(front): use props destruct cluster ref
Browse files Browse the repository at this point in the history
It is no longer required to use global $props variable now that props
are destructured.
  • Loading branch information
rezib committed Jan 30, 2025
1 parent 299ce69 commit 22984bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/ResourcesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ onMounted(() => {
class="inline-flex text-white hover:font-bold hover:text-gray-500"
:to="{
name: 'node',
params: { cluster: $props.cluster, nodeName: node.name }
params: { cluster: cluster, nodeName: node.name }
}"
>
<span class="pr-4 font-mono text-black">{{ node.name }}</span>
Expand Down

0 comments on commit 22984bf

Please sign in to comment.