Got first working cloud sync trigger fully running
This commit is contained in:
@@ -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" ?
|
||||
|
||||
@@ -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
@@ -884,6 +884,7 @@ const AppCreator = (props) => {
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
setAppBuilding(false)
|
||||
setErrorCode(error.toString())
|
||||
alert.error(error.toString())
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user