This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<v-toolbar flat dense>
|
||||
<template v-if="hasUrl">
|
||||
<v-btn text icon :to="moreUrl">
|
||||
<template v-if="showCount && count > 0">
|
||||
<template v-if="count > 0">
|
||||
<v-badge overlap>
|
||||
<template v-slot:badge>
|
||||
{{ count }}
|
||||
@@ -19,7 +19,7 @@
|
||||
</v-btn>
|
||||
</template>
|
||||
<template v-else>
|
||||
<template v-if="showCount && count > 0">
|
||||
<template v-if="count > 0">
|
||||
<v-badge overlap class="mr-4">
|
||||
<template v-slot:badge>
|
||||
{{ count }}
|
||||
@@ -120,10 +120,9 @@ export default {
|
||||
},
|
||||
title: String,
|
||||
moreUrl: String,
|
||||
showCount: Boolean,
|
||||
count: { type: Number, default: 0 },
|
||||
updateFrequency: { type: Number, default: 60000 },
|
||||
icon: String
|
||||
icon: { type: String, default: "$ayiTachometer" }
|
||||
},
|
||||
computed: {
|
||||
hasUrl: function() {
|
||||
|
||||
Reference in New Issue
Block a user