@mixd-id/web-scaffold 0.1.240411043 → 0.1.240411045

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.240411043",
4
+ "version": "0.1.240411045",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -14,6 +14,7 @@
14
14
  <option value="thu">Thu</option>
15
15
  <option value="fri">Fri</option>
16
16
  <option value="sat">Sat</option>
17
+ <option value="-">Holiday</option>
17
18
  </select>
18
19
  </div>
19
20
  <div class="flex-1 flex flex-col gap-1 pl-2 border-l-[1px] border-text-100 divide-y divide-text-100">
@@ -35,7 +35,7 @@
35
35
  </div>
36
36
 
37
37
  <div>
38
- <Button ref="submitBtn" class="w-full" @click="submitForm" :state="!canSubmit ? -1 : 1">
38
+ <Button ref="submitBtn" class="w-full" @click="submitForm" :state="canSubmit ? 1 : -1">
39
39
  <h5>Kirim</h5>
40
40
  </Button>
41
41
  </div>
@@ -106,7 +106,7 @@ export default{
106
106
  this.$refs.submitBtn.setState(2)
107
107
  this.axios({
108
108
  method: this.submitMethod ?? 'post',
109
- url: import.meta.env.VITE_API_HOST + this.submitUrl,
109
+ url: this.submitUrl,
110
110
  data: {
111
111
  url: this.$route.path,
112
112
  host: location.hostname,