Browse Source

Merge pull request #20117 from nextcloud/fix/noid/updatenotification-channel-click-outside

Close updatenotification channel selector on click outside
tags/v19.0.0beta1
Roeland Jago Douma 4 years ago
parent
commit
15ba3d5124
No account linked to committer's email address

+ 2
- 2
apps/updatenotification/js/updatenotification.js
File diff suppressed because it is too large
View File


+ 1
- 1
apps/updatenotification/js/updatenotification.js.map
File diff suppressed because it is too large
View File


+ 4
- 1
apps/updatenotification/src/components/UpdateNotification.vue View File

@@ -77,7 +77,7 @@

<h3 class="update-channel-selector">
{{ t('updatenotification', 'Update channel:') }}
<div class="update-menu">
<div v-click-outside="closeUpdateChannelMenu" class="update-menu">
<span class="icon-update-menu" @click="toggleUpdateChannelMenu">
{{ localizedChannelName }}
<span class="icon-triangle-s" />
@@ -419,6 +419,9 @@ export default {
toggleMenu: function() {
this.openedWhatsNew = !this.openedWhatsNew
},
closeUpdateChannelMenu: function() {
this.openedUpdateChannelMenu = false
},
hideMenu: function() {
this.openedWhatsNew = false
},

Loading…
Cancel
Save