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