summaryrefslogtreecommitdiff
path: root/src/view/organizational.rs
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2021-02-09 22:38:40 +0100
committerjelemux <jeremias.weber@protonmail.com>2021-02-09 22:38:40 +0100
commit9df3ff8d633a18e934d4e62b0e2e718620760552 (patch)
tree9d84d5fd3e418807905b3da928c1a2c3664b0272 /src/view/organizational.rs
parentad9ba30ed217ec9907d1faf389c321a1dcf5c13a (diff)
downloadwasm-card-9df3ff8d633a18e934d4e62b0e2e718620760552.tar.gz
wasm-card-9df3ff8d633a18e934d4e62b0e2e718620760552.tar.bz2
add file input field, include file as data url in vcard
Diffstat (limited to 'src/view/organizational.rs')
-rw-r--r--src/view/organizational.rs3
1 files changed, 2 insertions, 1 deletions
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<File>),
UpdateTitle(String),
UpdateRole(String),
UpdateMember(String),