Get Et2Avatar edit to load current value

This commit is contained in:
nathan 2022-07-18 09:50:56 -06:00
parent 918980af66
commit 7e76020ce1

View File

@ -273,7 +273,11 @@ export class Et2Avatar extends Et2Widget(SlotMixin(SlAvatar)) implements et2_IDe
return dialog;
};
dialog(egw.lang('Edit avatar'),self.options, buttons, null);
let value = {
contact_id: self.contact_id,
src: self.image
}
dialog(egw.lang('Edit avatar'), value, buttons, null);
});