Skip to content

Commit 91061aa

Browse files
committed
feat: save code (final commit before a break)
1 parent 4d7796d commit 91061aa

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/general/base/CustomInput.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ const target = useTemplateRef("target");
3838
3939
const focused = ref<boolean>(false);
4040
41+
function unFocus(): void {
42+
focused.value = false;
43+
}
44+
4145
const handleInput = useDebounceFn((event: Event): void => {
4246
const target = event?.target as HTMLInputElement;
4347
const targetValue = target?.value ?? "";
@@ -110,8 +114,8 @@ if (listenToEvents) {
110114
:value="defaultValue"
111115
@input="handleInput"
112116
@keydown="onKeyDown"
113-
@blur="() => focused = false"
117+
@blur="unFocus"
114118
/>
115119
<MaterialRipple :disabled="focused" />
116120
</div>
117-
</template>
121+
</template>

src/lib/general/scopes/get-at-a-glance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const atAGlanceMessages = [
1515
},
1616
{
1717
"title" : "%date%",
18-
"subtitle": "",
18+
"subtitle": "What a great day to play minecraft, right?",
1919
},
2020
];
2121

0 commit comments

Comments
 (0)