@drumee/ui-toolkit 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skin/skin.scss +5 -0
- package/widgets/otp/index.js +2 -1
package/package.json
CHANGED
package/skin/skin.scss
CHANGED
package/widgets/otp/index.js
CHANGED
|
@@ -131,7 +131,8 @@ export default class dtk_otp extends dtk_common {
|
|
|
131
131
|
})
|
|
132
132
|
break;
|
|
133
133
|
case "resend-code":
|
|
134
|
-
this.
|
|
134
|
+
let api = this.mget('resendApi') || SERVICE.otp.send
|
|
135
|
+
this.postService(api, { email, method }).then((data) => {
|
|
135
136
|
this.mset({ payload: data })
|
|
136
137
|
this.displayMessage(LOCALE.NEW_CODE_RESENT)
|
|
137
138
|
this.triggerHandlers({ service: "new-code", data })
|