diff --git a/resources/assets/js/components/profile/edit-password/EditPasswordForm.vue b/resources/assets/js/components/profile/edit-password/EditPasswordForm.vue index 04c6387..7e9b70f 100644 --- a/resources/assets/js/components/profile/edit-password/EditPasswordForm.vue +++ b/resources/assets/js/components/profile/edit-password/EditPasswordForm.vue @@ -60,8 +60,8 @@ methods: { updatePassword() { // uncomment the following 2 lines in your app - // alert('Edit Password is disabled for demo purpose'); - // return; + this.$noty.info('Edit Password is disabled for demo purpose'); + return; this.loading = true; axios.post(api.updateUserPassword, this.form) diff --git a/resources/assets/js/components/profile/edit-profile/EditProfileForm.vue b/resources/assets/js/components/profile/edit-profile/EditProfileForm.vue index 00a5d15..25353de 100644 --- a/resources/assets/js/components/profile/edit-profile/EditProfileForm.vue +++ b/resources/assets/js/components/profile/edit-profile/EditProfileForm.vue @@ -60,8 +60,8 @@ methods: { updateProfile() { // uncomment the following 2 lines to enable edit profile - // alert('Edit Profile is disabled for demo purpose'); - // return; + this.$noty.info('Edit Profile is disabled for demo purpose'); + return; this.loading = true; axios.post(api.updateUserProfile, this.form)