File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 99 size =" large"
1010 :has-previous =" index > 0"
1111 :has-next =" index < logEntries.length - 1"
12- @next =" $ emit('update:currentEntry', logEntries[index + 1])"
13- @previous =" $ emit('update:currentEntry', logEntries[index - 1])"
14- @update:show =" $ emit('update:open', false)" >
12+ @next =" emit('update:currentEntry', logEntries[index + 1])"
13+ @previous =" emit('update:currentEntry', logEntries[index - 1])"
14+ @update:show =" emit('update:open', false)" >
1515 <template #default >
1616 <div class =" log-details" >
1717 <dl :class =" cssLevelClass" >
@@ -82,6 +82,11 @@ const props = defineProps<{
8282 logEntries: readonly ILogEntry []
8383}>()
8484
85+ const emit = defineEmits <{
86+ (event : ' update:currentEntry' , value : ILogEntry ): void
87+ (event : ' update:open' , value : false ): void
88+ }>()
89+
8590hljs .registerLanguage (' json' , json )
8691
8792const { formatTime, formatLogEntry } = useLogFormatting ()
Original file line number Diff line number Diff line change 4747 </td >
4848 <td >
4949 <NcActions placement =" left-start" >
50- <NcActionButton close-after-click @click =" $ emit('show-details', row)" >
50+ <NcActionButton close-after-click @click =" emit('show-details', row)" >
5151 <template #icon >
5252 <IconViewList />
5353 </template >
@@ -100,6 +100,10 @@ const props = withDefaults(
100100 },
101101)
102102
103+ const emit = defineEmits <{
104+ (event : ' show-details' , value : ILogEntry ): void
105+ }>()
106+
103107const settingsStore = useSettingsStore ()
104108const isRawDate = computed (() => settingsStore .dateTimeFormat === ' raw' )
105109const isRelativeDate = computed (() => settingsStore .dateTimeFormat === ' relative' )
You can’t perform that action at this time.
0 commit comments