forked from potsda.mn/mobilizon
Merge branch 'fixes' into 'main'
fix(front): fix group settings getting unresponsive because of reactive bug Closes #1298 See merge request framasoft/mobilizon!1405
This commit is contained in:
commit
ceec4a36a4
|
@ -344,11 +344,11 @@ const canShowCopyButton = computed((): boolean => {
|
|||
});
|
||||
|
||||
const currentAddress = computed({
|
||||
get(): IAddress {
|
||||
return new Address(editableGroup.value?.physicalAddress);
|
||||
get(): IAddress | null {
|
||||
return editableGroup.value?.physicalAddress ?? null;
|
||||
},
|
||||
set(address: IAddress) {
|
||||
if (editableGroup.value) {
|
||||
set(address: IAddress | null) {
|
||||
if (editableGroup.value && address) {
|
||||
editableGroup.value = {
|
||||
...editableGroup.value,
|
||||
physicalAddress: address,
|
||||
|
|
Loading…
Reference in a new issue