소스 검색

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
No account linked to committer's email address

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

Loading…
취소
저장