From 73a154e403f92f054d28f9ea376db992414f45b9 Mon Sep 17 00:00:00 2001
From: dichi <13516063@std.stei.itb.ac.id>
Date: Sun, 3 Feb 2019 22:11:20 +0700
Subject: [PATCH] fix add thesis topic to automatically add the first entry

---
 resources/views/mahasiswa/form_pengajuan_topik.blade.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/resources/views/mahasiswa/form_pengajuan_topik.blade.php b/resources/views/mahasiswa/form_pengajuan_topik.blade.php
index 06c0448..c8442e2 100644
--- a/resources/views/mahasiswa/form_pengajuan_topik.blade.php
+++ b/resources/views/mahasiswa/form_pengajuan_topik.blade.php
@@ -73,6 +73,9 @@
                 topics: {!! json_encode($topics) !!}
 
             },
+            mounted: function(){
+                this.increment()
+            },
             methods: {
                 increment: function () {
                     if(this.count < 3) {
-- 
GitLab