diff options
Diffstat (limited to 'packages/frontend/src/widgets/WidgetUnixClock.vue')
| -rw-r--r-- | packages/frontend/src/widgets/WidgetUnixClock.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/frontend/src/widgets/WidgetUnixClock.vue b/packages/frontend/src/widgets/WidgetUnixClock.vue index f1af71adda..69bceb7572 100644 --- a/packages/frontend/src/widgets/WidgetUnixClock.vue +++ b/packages/frontend/src/widgets/WidgetUnixClock.vue @@ -1,3 +1,8 @@ +<!-- +SPDX-FileCopyrightText: syuilo and other misskey contributors +SPDX-License-Identifier: AGPL-3.0-only +--> + <template> <div class="mkw-unixClock _monospace" :class="{ _panel: !widgetProps.transparent }" :style="{ fontSize: `${widgetProps.fontSize}em` }"> <div v-if="widgetProps.showLabel" class="label">UNIX Epoch</div> @@ -13,7 +18,7 @@ <script lang="ts" setup> import { onUnmounted, ref, watch } from 'vue'; import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget'; -import { GetFormResultType } from '@/scripts/form'; +import { GetFormResultType } from '@/scripts/form.js'; const name = 'unixClock'; |