From c812cf1de29c213a6e9d5bf2e158b6710b7ee506 Mon Sep 17 00:00:00 2001 From: Anindya Dhruba Date: Mon, 8 Jan 2018 01:10:01 +0600 Subject: [PATCH] Edit Profile and Password disabled for demo purpose --- .../js/components/profile/edit-password/EditPasswordForm.vue | 4 ++-- .../js/components/profile/edit-profile/EditProfileForm.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)