This commit is contained in:
@@ -3,17 +3,20 @@
|
|||||||
<!-- todo: need type icon and badge with count options in title bar (badge is icon?) -->
|
<!-- todo: need type icon and badge with count options in title bar (badge is icon?) -->
|
||||||
<slot name="dash-title">
|
<slot name="dash-title">
|
||||||
<v-toolbar flat dense>
|
<v-toolbar flat dense>
|
||||||
|
<v-btn text icon to="/home-notifications" data-cy="notification">
|
||||||
|
<template v-if="showCount">
|
||||||
|
<v-badge :value="23 > 0">
|
||||||
|
<template v-slot:badge>
|
||||||
|
23
|
||||||
|
</template>
|
||||||
|
<v-icon>$ayiSplotch</v-icon>
|
||||||
|
</v-badge>
|
||||||
|
</template>
|
||||||
|
<template v-else> <v-icon>$ayiSplotch</v-icon> </template>
|
||||||
|
</v-btn>
|
||||||
<v-toolbar-title> {{ title }}</v-toolbar-title>
|
<v-toolbar-title> {{ title }}</v-toolbar-title>
|
||||||
|
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-btn text icon to="/home-notifications" data-cy="notification">
|
|
||||||
<v-badge :value="23 > 0">
|
|
||||||
<template v-slot:badge>
|
|
||||||
23
|
|
||||||
</template>
|
|
||||||
<v-icon>$ayiSplotch</v-icon>
|
|
||||||
</v-badge>
|
|
||||||
</v-btn>
|
|
||||||
|
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
|
|
||||||
@@ -101,7 +104,8 @@ export default {
|
|||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
title: String,
|
title: String,
|
||||||
moreUrl: String
|
moreUrl: String,
|
||||||
|
showCount: Boolean
|
||||||
},
|
},
|
||||||
methods: {}
|
methods: {}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user