mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix avatar dialog gallery edit buttons and left own group spam
This commit is contained in:
@@ -1026,10 +1026,10 @@ i.x-status-icon.red {
|
||||
-webkit-line-clamp: unset;
|
||||
}
|
||||
|
||||
// .el-carousel__mask {
|
||||
// // looks bad
|
||||
// display: none;
|
||||
// }
|
||||
.el-carousel__mask {
|
||||
// looks bad
|
||||
display: none;
|
||||
}
|
||||
|
||||
// FIXME
|
||||
// Something changed the CSS of element-ui
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
loading="lazy" />
|
||||
<div
|
||||
v-if="avatarDialog.ref.authorId === currentUser.id"
|
||||
style="position: absolute; bottom: 5px; left: 33.3%">
|
||||
style="position: absolute; bottom: 35px; left: 38%">
|
||||
<el-button
|
||||
size="small"
|
||||
:icon="Back"
|
||||
|
||||
@@ -351,6 +351,13 @@ export const useGroupStore = defineStore('Group', () => {
|
||||
if (currentUserGroups.has(groupId)) {
|
||||
currentUserGroups.delete(groupId);
|
||||
groupRequest.getCachedGroup({ groupId }).then((args) => {
|
||||
if (args.ref?.ownerId === userStore.currentUser.id) {
|
||||
// Issue #1455
|
||||
console.log(
|
||||
`Not sending left group notification for owned group ${groupId}`
|
||||
);
|
||||
return;
|
||||
}
|
||||
groupChange(args.ref, 'Left group');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user