forked from didirus/AstralRinth
fix: issues with files tab + tech rev cards (#4941)
This commit is contained in:
@@ -158,6 +158,9 @@ const client = injectModrinthClient()
|
||||
|
||||
const severityOrder = { severe: 3, high: 2, medium: 1, low: 0 } as Record<string, number>
|
||||
|
||||
const detailDecisions = ref<Map<string, 'safe' | 'malware'>>(new Map())
|
||||
const updatingDetails = ref<Set<string>>(new Set())
|
||||
|
||||
function getFileHighestSeverity(
|
||||
file: FlattenedFileReport,
|
||||
): Labrinth.TechReview.Internal.DelphiSeverity {
|
||||
@@ -303,9 +306,6 @@ async function copyToClipboard(code: string, detailId: string) {
|
||||
}
|
||||
}
|
||||
|
||||
const detailDecisions = ref<Map<string, 'safe' | 'malware'>>(new Map())
|
||||
const updatingDetails = ref<Set<string>>(new Set())
|
||||
|
||||
function getDetailDecision(
|
||||
detailId: string,
|
||||
backendStatus: Labrinth.TechReview.Internal.DelphiReportIssueStatus,
|
||||
|
||||
Reference in New Issue
Block a user