password delete bug fixed
This commit is contained in:
parent
8fa354f1a7
commit
0a423c8e90
9750
package-lock.json
generated
9750
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "websitelogin",
|
"name": "websitelogin",
|
||||||
"version": "0.1.0",
|
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alertify.js": "^1.0.12",
|
"alertify.js": "^1.0.12",
|
||||||
|
@ -85,7 +85,7 @@ const Edit = inject("rootStore") ( observer(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if(nextProps.open !== this.props.open) {
|
if(nextProps.open !== this.props.open) {
|
||||||
var url;
|
var url;
|
||||||
var login;
|
var login;
|
||||||
|
@ -80,7 +80,7 @@ const New = inject("rootStore") ( observer(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
componentWillReceiveProps(nextProps) {
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
||||||
if(nextProps.open !== this.props.open) {
|
if(nextProps.open !== this.props.open) {
|
||||||
if(nextProps.open && window.innerWidth <= 700) {
|
if(nextProps.open && window.innerWidth <= 700) {
|
||||||
//Scroll to top
|
//Scroll to top
|
||||||
@ -239,7 +239,7 @@ const New = inject("rootStore") ( observer(
|
|||||||
width: '100vw',
|
width: '100vw',
|
||||||
height: '100vh',
|
height: '100vh',
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
zIndex: 1000,
|
zIndex: 1,
|
||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
backgroundColor: 'rgba(255,255,255,0.9)',
|
backgroundColor: 'rgba(255,255,255,0.9)',
|
||||||
|
@ -163,10 +163,10 @@ const Login = inject("rootStore") ( observer(
|
|||||||
return {
|
return {
|
||||||
container: {
|
container: {
|
||||||
padding: '0%',
|
padding: '0%',
|
||||||
paddingTop: '15%',
|
paddingTop: '100px',
|
||||||
|
width: '100%',
|
||||||
'@media (min-width: 500px)': {
|
'@media (min-width: 500px)': {
|
||||||
padding: '20%',
|
width: '500px !important'
|
||||||
paddingTop: '10%',
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ class AuthStore {
|
|||||||
reject(error);
|
reject(error);
|
||||||
});
|
});
|
||||||
}).catch(function(error) {
|
}).catch(function(error) {
|
||||||
alertify.error("Something went wrong. Please check your internet connection");
|
alertify.error(error.message);
|
||||||
reject(error);
|
reject(error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ catch (err) {
|
|||||||
fb = firebase.initializeApp(config);
|
fb = firebase.initializeApp(config);
|
||||||
const firestore = firebase.firestore();
|
const firestore = firebase.firestore();
|
||||||
|
|
||||||
const settings = {timestampsInSnapshots: true};
|
const settings = {};
|
||||||
firestore.settings(settings);
|
firestore.settings(settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ class RootStore {
|
|||||||
/*#######################################################*/
|
/*#######################################################*/
|
||||||
loadApp() {
|
loadApp() {
|
||||||
const result = browser();
|
const result = browser();
|
||||||
console.log("Your browser: " , result);
|
console.log(result);
|
||||||
|
|
||||||
if(navigator.cookiesEnabled) {
|
if(navigator.cookiesEnabled) {
|
||||||
alertify.delay(0).error("Please activate cookies in your browser! Refresh after");
|
alertify.delay(0).error("Please activate cookies in your browser! Refresh after");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user