Got first working cloud sync trigger fully running

This commit is contained in:
frikky
2020-11-05 17:11:50 +01:00
parent 4d0f9f5bc4
commit 7b51b9ef22
9 changed files with 232 additions and 63 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ import SettingsPage from "./views/SettingsPage";
import { createMuiTheme, MuiThemeProvider } from '@material-ui/core/styles';
import AlertTemplate from "react-alert-template-basic";
import AlertTemplate from "./components/AlertTemplate";
import { positions, Provider } from "react-alert";
// Production - backend proxy forwarding in nginx
@@ -118,7 +118,7 @@ const App = (message, props) => {
const options = {
timeout: 5000,
position: positions.BOTTOM_CENTER
position: positions.BOTTOM_RIGHT
};
const includedData = window.location.pathname === "/home" || window.location.pathname === "/features" ?
+4 -3
View File
@@ -7,7 +7,7 @@ import CloseIcon from './icons/CloseIcon'
const alertStyle = {
backgroundColor: '#151515',
color: 'white',
padding: '10px',
padding: 15,
textTransform: 'uppercase',
borderRadius: '3px',
display: 'flex',
@@ -15,8 +15,9 @@ const alertStyle = {
alignItems: 'center',
boxShadow: '0px 2px 2px 2px rgba(0, 0, 0, 0.03)',
fontFamily: 'Arial',
width: '300px',
boxSizing: 'border-box'
width: 400,
boxSizing: 'border-box',
zIndex: 10001,
}
const buttonStyle = {
File diff suppressed because one or more lines are too long
+1
View File
@@ -884,6 +884,7 @@ const AppCreator = (props) => {
}
})
.catch(error => {
setAppBuilding(false)
setErrorCode(error.toString())
alert.error(error.toString())
});