From 9df3ff8d633a18e934d4e62b0e2e718620760552 Mon Sep 17 00:00:00 2001 From: jelemux Date: Tue, 9 Feb 2021 22:38:40 +0100 Subject: add file input field, include file as data url in vcard --- src/view/organizational.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/view/organizational.rs') diff --git a/src/view/organizational.rs b/src/view/organizational.rs index b11c181..e6636ec 100644 --- a/src/view/organizational.rs +++ b/src/view/organizational.rs @@ -1,3 +1,4 @@ +use crate::viewmodel::utility::File; use yew::prelude::*; use yewtil::NeqAssign; use crate::viewmodel::Error; @@ -17,7 +18,7 @@ pub struct OrganizationalView { pub enum Msg { UpdateOrg(String), - UpdateLogo(String), + UpdateLogo(Option), UpdateTitle(String), UpdateRole(String), UpdateMember(String), -- cgit v1.2.3