Remove tooltip on customize button in dashboard

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-09-04 08:10:59 +02:00
parent 84fe4447a7
commit b759b40f24
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
3 changed files with 4 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -25,10 +25,8 @@
</div> </div>
</Draggable> </Draggable>
<div class="footer" <div class="footer">
:class="{ firstrun: firstRun }"> <a class="edit-panels icon-rename"
<a v-tooltip="tooltip"
class="edit-panels icon-rename"
tabindex="0" tabindex="0"
@click="showModal" @click="showModal"
@keyup.enter="showModal" @keyup.enter="showModal"
@ -158,17 +156,6 @@ export default {
backgroundImage: `url(${this.backgroundImage})`, backgroundImage: `url(${this.backgroundImage})`,
} }
}, },
tooltip() {
if (!this.firstRun) {
return null
}
return {
content: t('dashboard', 'Adjust the dashboard to your needs'),
placement: 'top',
show: true,
trigger: 'manual',
}
},
greeting() { greeting() {
const time = this.timer.getHours() const time = this.timer.getHours()
const shouldShowName = this.displayName && this.uid !== this.displayName const shouldShowName = this.displayName && this.uid !== this.displayName
@ -489,11 +476,6 @@ export default {
transition: bottom var(--animation-slow) ease-in-out; transition: bottom var(--animation-slow) ease-in-out;
bottom: 0; bottom: 0;
padding: 44px 0; padding: 44px 0;
&.firstrun {
position: sticky;
bottom: 10px;
}
} }
.edit-panels { .edit-panels {