Fixed alert dialog button in notifications, fixed add tile padding on profile page.
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
:notifications="notifications"
|
||||
:unseen-count="unseenNotificationsCount"
|
||||
@check="fetchNotifications"
|
||||
@add-alert="showAddAlert = true"
|
||||
/>
|
||||
</template>
|
||||
</Tooltip>
|
||||
@@ -144,12 +145,19 @@
|
||||
|
||||
<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';
|
||||
@@ -167,6 +175,7 @@ async function fetchNotifications() {
|
||||
|
||||
export default {
|
||||
components: {
|
||||
AddAlert,
|
||||
Menu,
|
||||
Notifications,
|
||||
Search,
|
||||
@@ -177,6 +186,7 @@ export default {
|
||||
logo,
|
||||
searching: false,
|
||||
showFilters: false,
|
||||
showAddAlert: false,
|
||||
notifications: [],
|
||||
unseenNotificationsCount: 0,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user