Skip to content

Commit

Permalink
fixup! Fix the remaining bugs
Browse files Browse the repository at this point in the history
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
CarlSchwan authored and nextcloud-command committed Nov 4, 2021
1 parent b294de2 commit 4e8141c
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 47 deletions.
24 changes: 12 additions & 12 deletions apps/user_status/js/dashboard.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/dashboard.js.map

Large diffs are not rendered by default.

65 changes: 44 additions & 21 deletions apps/user_status/js/user-status-menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/user-status-menu.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions apps/user_status/js/user-status-modal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/user-status-modal.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions apps/user_status/js/vendors-user-status-modal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/js/vendors-user-status-modal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/user_status/src/components/ResetStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</template>

<script>
import { mapState, mapActions } from 'vuex'
import { mapState } from 'vuex'
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
import { getCurrentUser } from '@nextcloud/auth'

Expand Down
4 changes: 4 additions & 0 deletions apps/user_status/src/components/SetStatusModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
</template>

<script>
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
import { showError } from '@nextcloud/dialogs'
import EmojiPicker from '@nextcloud/vue/dist/Components/EmojiPicker'
import Modal from '@nextcloud/vue/dist/Components/Modal'
Expand Down Expand Up @@ -136,6 +137,9 @@ export default {
}
subscribe('user_status:status.updated', this.handleUserStatusUpdated)
},
beforeDestroy() {
unsubscribe('user_status:status.updated', this.handleUserStatusUpdated)
},
methods: {
/**
* Closes the Set Status modal
Expand Down

0 comments on commit 4e8141c

Please sign in to comment.