Преглед на файлове

feat: add positive notify for enrollClassroom

ali преди 2 години
родител
ревизия
42ab2d960c
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/components/Widgets/Other/Shop/ShopPaymentFromWallet/ShopPaymentFromWallet.vue

+ 4 - 0
src/components/Widgets/Other/Shop/ShopPaymentFromWallet/ShopPaymentFromWallet.vue

@@ -305,6 +305,10 @@ export default {
       this.enrolmentLoading = true
       APIGateway.classroom.enrollByUser(this.classroom.id)
         .then(() => {
+          this.$q.notify({
+            message: 'پیش ثبت نام با موفقیت انجام شد.',
+            type: 'positive'
+          })
           this.enrolmentLoading = false
           this.$route.push({ name: 'UserPanel.Profile.ClassroomInfo', params: { id: this.classroom.id } })
         })