web client v 0.1
This commit is contained in:
@@ -10,18 +10,6 @@ export const hideDishes = () => {
|
||||
};
|
||||
};
|
||||
|
||||
export const showLoginDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_LOGIN_VISIBLE",
|
||||
};
|
||||
};
|
||||
|
||||
export const hideLoginDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_LOGIN_HIDDEN",
|
||||
};
|
||||
};
|
||||
|
||||
export const setLoggedIn = (username, jwt, id, email) => {
|
||||
return {
|
||||
type: "SET_LOGGEDIN",
|
||||
@@ -35,30 +23,6 @@ export const setLoggedOut = () => {
|
||||
};
|
||||
};
|
||||
|
||||
export const showRegisterDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_REGISTER_VISIBLE",
|
||||
};
|
||||
};
|
||||
|
||||
export const hideRegisterDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_REGISTER_HIDDEN",
|
||||
};
|
||||
};
|
||||
|
||||
export const showRegulaminDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_REGULAMIN_VISIBLE",
|
||||
};
|
||||
};
|
||||
|
||||
export const hideRegulaminDialog = () => {
|
||||
return {
|
||||
type: "DIALOG_REGULAMIN_HIDDEN",
|
||||
};
|
||||
};
|
||||
|
||||
export const showRegisterCircle = () => {
|
||||
return {
|
||||
type: "DIALOG_REGISTER_CIRCLE_SHOW",
|
||||
@@ -91,14 +55,52 @@ export const setLoginResult = (text) => {
|
||||
};
|
||||
};
|
||||
|
||||
export const hideNewRestaurantDialog = () => {
|
||||
export const setReminderResult = (text) => {
|
||||
return {
|
||||
type: "DIALOG_NEWRESTAURANT_HIDE",
|
||||
type: "DIALOG_REMINDER_SET_RESULT",
|
||||
payload: text,
|
||||
};
|
||||
};
|
||||
|
||||
export const showNewRestaurantDialog = () => {
|
||||
export const setResetResult = (text) => {
|
||||
return {
|
||||
type: "DIALOG_NEWRESTAURANT_SHOW",
|
||||
type: "DIALOG_RESET_SET_RESULT",
|
||||
payload: text,
|
||||
};
|
||||
};
|
||||
|
||||
export const hideRegulamin = () => {
|
||||
return {
|
||||
type: "DIALOG_REGULAMIN_HIDE",
|
||||
};
|
||||
};
|
||||
|
||||
export const showRegulamin = () => {
|
||||
return {
|
||||
type: "DIALOG_REGULAMIN_SHOW",
|
||||
};
|
||||
};
|
||||
|
||||
export const showReminderCircle = () => {
|
||||
return {
|
||||
type: "DIALOG_REMINDER_CIRCLE_SHOW",
|
||||
};
|
||||
};
|
||||
|
||||
export const hideReminderCircle = () => {
|
||||
return {
|
||||
type: "DIALOG_REMINDER_CIRCLE_HIDE",
|
||||
};
|
||||
};
|
||||
|
||||
export const showResetCircle = () => {
|
||||
return {
|
||||
type: "DIALOG_RESET_CIRCLE_SHOW",
|
||||
};
|
||||
};
|
||||
|
||||
export const hideResetCircle = () => {
|
||||
return {
|
||||
type: "DIALOG_RESET_CIRCLE_HIDE",
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user