Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 49fe3eb

Browse files
authored
Update v1.3 with v1.2.3 (#1110)
* fix conflict * fix version name
1 parent 9df2910 commit 49fe3eb

File tree

18 files changed

+28
-20
lines changed

18 files changed

+28
-20
lines changed

apps/activity_logger/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule ActivityLogger.MixProject do
44
def project do
55
[
66
app: :activity_logger,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/admin_api/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule AdminAPI.Mixfile do
44
def project do
55
[
66
app: :admin_api,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/db/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule DB.Mixfile do
44
def project do
55
[
66
app: :db,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
elixir: "~> 1.8",
99
start_permanent: Mix.env == :prod,
1010
test_coverage: [tool: ExCoveralls],

apps/ewallet/config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use Mix.Config
44

55
config :ewallet,
66
ecto_repos: [],
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
cors_origin: {:system, "CORS_ORIGIN", nil},
99
settings: [
1010
:base_url,

apps/ewallet/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule EWallet.Mixfile do
44
def project do
55
[
66
app: :ewallet,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/ewallet_api/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule EWalletAPI.Mixfile do
44
def project do
55
[
66
app: :ewallet_api,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/ewallet_config/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule EWalletConfig.MixProject do
44
def project do
55
[
66
app: :ewallet_config,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/ewallet_db/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule EWalletDB.Mixfile do
44
def project do
55
[
66
app: :ewallet_db,
7-
version: "1.3.0-pre.0",
7+
version: "1.3.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",

apps/frontend/assets/src/omg-alert/reducer.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ export const alertsReducer = createReducer([], {
263263
createAlertState(<div>Exported transactions successfully</div>, 'success')
264264
]
265265
},
266+
'ADMIN/INVITE/SUCCESS': state => {
267+
return [...state, createAlertState('Invited admin successfully.', 'success')]
268+
},
269+
'INVITE_ADMIN/REQUEST/SUCCESS': state => {
270+
return [...state, createAlertState('Invited admin successfully.', 'success')]
271+
},
266272
'CONFIGURATIONS/UPDATE/FAILED': errorStateHandler,
267273
'TRANSACTIONS/EXPORT/FAILED': errorStateHandler,
268274
'PASSWORD/UPDATE/FAILED': errorStateHandler,
@@ -286,5 +292,7 @@ export const alertsReducer = createReducer([], {
286292
'TOKEN_EXPIRE': errorStateHandler,
287293
'USER/UPDATE/FAILED': errorStateHandler,
288294
'ADMIN/UPDATE/FAILED': errorStateHandler,
289-
'TRANSACTION_REQUEST/CANCEL/FAILED': errorStateHandler
295+
'TRANSACTION_REQUEST/CANCEL/FAILED': errorStateHandler,
296+
'ADMIN/INVITE/FAILED': errorStateHandler,
297+
'INVITE_ADMIN/REQUEST/FAILED': errorStateHandler
290298
})

apps/frontend/assets/src/omg-createNewPassword-form/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ class ForgetPasswordForm extends Component {
7979
password: this.state.newPassword,
8080
passwordConfirmation: this.state.reEnteredNewPassword
8181
})
82-
if (result.data.success) {
82+
if (result.data) {
8383
this.setState({ submitStatus: 'SUCCESS' })
8484
} else {
85-
this.setState({ submitStatus: 'FAILED', submitErrorText: result.data.data.code })
85+
this.setState({ submitStatus: 'FAILED', submitErrorText: result.error.code })
8686
}
8787
}
8888
}

0 commit comments

Comments
 (0)