Fixed alert dialog button in notifications, fixed add tile padding on profile page.

This commit is contained in:
DebaucheryLibrarian
2021-05-15 22:01:57 +02:00
parent 478a2c4b48
commit 0f8d5d4456
4 changed files with 19 additions and 11 deletions

View File

@@ -14,16 +14,11 @@
<Icon
v-tooltip="'Add alert'"
icon="plus3"
@click="showAddAlert = true"
@click="$emit('addAlert')"
/>
</div>
</div>
<AddAlert
v-if="showAddAlert"
@close="showAddAlert = false"
>Alert</AddAlert>
<div class="notifications-body">
<div
v-if="notifications.length === 0"
@@ -123,8 +118,6 @@
</template>
<script>
import AddAlert from '../alerts/add.vue';
async function checkNotifications() {
await this.$store.dispatch('checkNotifications');
@@ -142,9 +135,6 @@ async function checkNotification(notificationId, blur) {
}
export default {
components: {
AddAlert,
},
props: {
notifications: {
type: Array,
@@ -160,6 +150,7 @@ export default {
showAddAlert: false,
};
},
emits: ['addAlert'],
methods: {
checkNotifications,
checkNotification,