瀏覽代碼

Prevent your own status from replacing another user's status

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
tags/v24.0.0beta1
Christopher Ng 2 年之前
父節點
當前提交
3aea0f2c19
共有 3 個檔案被更改,包括 11 行新增9 行删除
  1. 7
    7
      core/js/dist/profile.js
  2. 1
    1
      core/js/dist/profile.js.map
  3. 3
    1
      core/src/views/Profile.vue

+ 7
- 7
core/js/dist/profile.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
core/js/dist/profile.js.map
文件差異過大導致無法顯示
查看文件


+ 3
- 1
core/src/views/Profile.vue 查看文件

@@ -273,7 +273,9 @@ export default {

methods: {
handleStatusUpdate(status) {
this.status = status
if (this.isCurrentUser && status.userId === this.userId) {
this.status = status
}
},

openStatusModal() {

Loading…
取消
儲存