Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: extend ILogEntry type to include unique id
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Apr 22, 2025
commit a38e3f189805b8d7c5e10ca9b949d29656fe5a81
4 changes: 2 additions & 2 deletions src/components/table/LogTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
</td>
</tr>

<LogTableRow v-for="row, rowNumber in sortedRows"
:key="rowNumber"
<LogTableRow v-for="row in sortedRows"
:key="row.id"
:row="row"
@show-details="showDetailsForRow" />
</tbody>
Expand Down
2 changes: 2 additions & 0 deletions src/interfaces/ILogEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ export type IRawLogEntry = INextcloud14LogEntry | INextcloud22LogEntry
* Fixed version of the log entry where the exception has its own field of type IException
*/
export interface ILogEntry extends Omit<INextcloud22LogEntry, 'exception'> {
/** Unique ID, appended to each iterator element (see LogController#poll) */
id: string
/** Full exception with trace (if applicable) */
exception?: IException
}