Upload image
- Image upload works on profile - added multer into package.json for handling image files - files are saved under /db/images/users/user-id/profile.ext
This commit is contained in:
@@ -2,8 +2,6 @@ import "./AppWindow.js"
|
||||
import "../Profile/Profile.js"
|
||||
|
||||
class AppWindowContainer extends Shadow {
|
||||
isProfileOpen = false
|
||||
|
||||
render() {
|
||||
ZStack(() => {
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ class Sidebar extends Shadow {
|
||||
.fontFamily("Arial")
|
||||
.marginLeft(2, em)
|
||||
.onTap(function (done) {
|
||||
console.log("hello")
|
||||
if(done) {
|
||||
if (this.innerText === "Logout") {
|
||||
global.onLogout()
|
||||
|
||||
Reference in New Issue
Block a user