mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Allow private group join by link
This commit is contained in:
parent
b4c7f6008e
commit
728dc79bd6
@ -1847,13 +1847,7 @@ class GroupManagement extends LitElement {
|
|||||||
if(sideEffectAction && sideEffectAction.type === 'openJoinGroupModal'){
|
if(sideEffectAction && sideEffectAction.type === 'openJoinGroupModal'){
|
||||||
const res = await getGroupInfo(sideEffectAction.data)
|
const res = await getGroupInfo(sideEffectAction.data)
|
||||||
if(res && res.groupId){
|
if(res && res.groupId){
|
||||||
if(res.isOpen){
|
this.joinGroup(res)
|
||||||
this.joinGroup(res)
|
|
||||||
|
|
||||||
} else {
|
|
||||||
let snackbarstring = get("managegroup.mg45")
|
|
||||||
parentEpml.request('showSnackBar', `${snackbarstring}`)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
window.parent.reduxStore.dispatch(
|
window.parent.reduxStore.dispatch(
|
||||||
window.parent.reduxAction.setSideEffectAction(null)
|
window.parent.reduxAction.setSideEffectAction(null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user