Compare commits

..

No commits in common. "a4a05232dba20ce22deff9d2737ea4fe93ded061" and "478a2c4b48603975b1145346eb90304408d3b8c8" have entirely different histories.

6 changed files with 14 additions and 22 deletions

View File

@ -32,10 +32,6 @@
</template>
<script>
function mounted() {
this.events.emit('blur');
}
export default {
props: {
title: {
@ -44,7 +40,6 @@ export default {
},
},
emits: ['close'],
mounted,
};
</script>

View File

@ -100,7 +100,6 @@
:notifications="notifications"
:unseen-count="unseenNotificationsCount"
@check="fetchNotifications"
@add-alert="showAddAlert = true"
/>
</template>
</Tooltip>
@ -145,19 +144,12 @@
<Search class="search-full" />
</div>
<AddAlert
v-if="showAddAlert"
@close="showAddAlert = false"
>Alert</AddAlert>
</header>
</template>
<script>
import Menu from './menu.vue';
import Notifications from './notifications.vue';
import AddAlert from '../alerts/add.vue';
import Search from './search.vue';
import logo from '../../img/logo.svg';
@ -175,7 +167,6 @@ async function fetchNotifications() {
export default {
components: {
AddAlert,
Menu,
Notifications,
Search,
@ -186,7 +177,6 @@ export default {
logo,
searching: false,
showFilters: false,
showAddAlert: false,
notifications: [],
unseenNotificationsCount: 0,
};

View File

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

View File

@ -221,8 +221,6 @@ export default {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 1rem;
background: var(--shadow-touch);
.icon {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx",
"version": "1.193.2",
"version": "1.193.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.193.2",
"version": "1.193.1",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.193.2",
"version": "1.193.1",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {