Skip to content

Commit 7efcc25

Browse files
authored
Merge pull request #840 from Giskard-AI/feature/gsk-688-error-in-console-when-inspecting-a-model
Fixed error related to tooltip in the inspector
2 parents a6a90c7 + b1a36a2 commit 7efcc25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/views/main/project/Inspector.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@
122122
Global
123123
</v-tab>
124124

125-
<v-tooltip bottom :disabled="textFeatureNames.length">
125+
<v-tooltip bottom :disabled="textFeatureNames.length !== 0">
126126
<template v-slot:activator="{ on, attrs }">
127127
<div class="d-flex" v-on="on" v-bind="attrs">
128-
<v-tab :disabled="!textFeatureNames.length">
128+
<v-tab :disabled="!textFeatureNames.length">
129129
<v-icon left>text_snippet</v-icon>
130130
Text
131131
</v-tab>
132-
</div>
132+
</div>
133133
</template>
134134
<span>Text explanation is not available because your model does not contain any text features</span>
135135
</v-tooltip>

0 commit comments

Comments
 (0)