Refactor MasterDetailMntC.vue for improved readability and consistency
This commit is contained in:
@@ -17,7 +17,7 @@ export type HttpToastDetail = {
|
||||
let lastKey = ''
|
||||
let lastAt = 0
|
||||
|
||||
export function emitHttpToast (detail: HttpToastDetail) {
|
||||
export function emitHttpToast(detail: HttpToastDetail) {
|
||||
const now = Date.now()
|
||||
const key = detail.dedupeKey ?? `${detail.level}:${detail.message}`
|
||||
|
||||
@@ -28,4 +28,3 @@ export function emitHttpToast (detail: HttpToastDetail) {
|
||||
|
||||
window.dispatchEvent(new CustomEvent<HttpToastDetail>(HTTP_TOAST_EVENT, { detail }))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user