Skip to content

Commit

Permalink
Directly mount notifications
Browse files Browse the repository at this point in the history
Based on nextcloud/server#25184

Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Jan 18, 2021
1 parent ee1197c commit 620b4a0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 29 deletions.
46 changes: 23 additions & 23 deletions js/notifications-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/notifications-main.js.map

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Vue.prototype.n = n
Vue.prototype.OC = OC
Vue.prototype.OCA = OCA

const unifiedSearch = document.getElementById('unified-search')
const notificationsBell = document.createElement('div')
notificationsBell.setAttribute('id', 'notifications')
unifiedSearch.insertAdjacentHTML('afterend', notificationsBell.outerHTML)

export default new Vue({
el: '#notifications',
render: h => h(App),
Expand Down

0 comments on commit 620b4a0

Please sign in to comment.