diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..6e16f543 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,30 @@ +# top-most EditorConfig file +root = true + +# Default settings for all files +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +# For Markdown files, don't trim trailing whitespace (karena kadang dipakai untuk line break) +[*.md] +trim_trailing_whitespace = false + +# For JSON, YAML, and config files +[*.{json,yml,yaml}] +indent_style = space +indent_size = 2 + +# For JS, TS, Vue files +[*.{js,ts,vue}] +indent_style = space +indent_size = 2 + +# For CSS, SCSS, PostCSS +[*.{css,scss,pcss}] +indent_style = space +indent_size = 2 diff --git a/.vscode/launch.json b/.vscode/launch.json index 9c243a03..4b1147d4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,4 +12,4 @@ "webRoot": "${workspaceFolder}" } ] -} \ No newline at end of file +} diff --git a/app/components/app/doctor/list-cfg.ts b/app/components/app/doctor/list-cfg.ts index fcd73e98..0cff0cce 100644 --- a/app/components/app/doctor/list-cfg.ts +++ b/app/components/app/doctor/list-cfg.ts @@ -13,7 +13,7 @@ type SmallDetailDto = any const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue')) const statusBadge = defineAsyncComponent(() => import('./status-badge.vue')) -const doctorStatus = { +const _doctorStatus = { 0: 'Tidak Aktif', 1: 'Aktif', } diff --git a/app/components/app/satusehat/card-summary.vue b/app/components/app/satusehat/card-summary.vue index d0c142df..6d139044 100644 --- a/app/components/app/satusehat/card-summary.vue +++ b/app/components/app/satusehat/card-summary.vue @@ -1,5 +1,5 @@ diff --git a/app/components/flow/doctor/list.vue b/app/components/flow/doctor/list.vue index e71096de..98a6a6c9 100644 --- a/app/components/flow/doctor/list.vue +++ b/app/components/flow/doctor/list.vue @@ -1,6 +1,6 @@ @@ -24,20 +24,17 @@ function btnClick() {
- - {{ prep.title }} + + {{ props.prep.title }}
-
+
+/>