Skip to content

Commit 6522cd6

Browse files
address activator warnings
Co-authored-by: Ronnie Dutta <[email protected]>
1 parent 38ca379 commit 6522cd6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/cylc/workspace/Toolbar.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
137137
</v-btn>
138138

139139
<!-- workflow info icon -->
140-
<v-tooltip v-if="isRunning" :activator="$event => $event.target.closest('span')">
141-
<template v-slot:activator="{ props }">
142-
<span v-bind="props">
143-
<v-icon :icon="$options.icons.info"/>
144-
</span>
145-
</template>
140+
<v-icon
141+
v-if="isRunning"
142+
:icon="$options.icons.info"
143+
id="info-icon"
144+
/>
145+
<v-tooltip v-if="isRunning" activator="#info-icon">
146146
<dl>
147147
<dt><strong>Owner:</strong> {{ currentWorkflow.node.owner }}</dt>
148148
<dt><strong>Host:</strong> {{ currentWorkflow.node.host }}</dt>

0 commit comments

Comments
 (0)