浏览代码

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 年前
父节点
当前提交
15ba3d5124
没有帐户链接到提交者的电子邮件

+ 2
- 2
apps/updatenotification/js/updatenotification.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
apps/updatenotification/js/updatenotification.js.map
文件差异内容过多而无法显示
查看文件


+ 4
- 1
apps/updatenotification/src/components/UpdateNotification.vue 查看文件

@@ -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
},

正在加载...
取消
保存