Skip to content

Commit

Permalink
Fix evidence management in applied control detail (#1265)
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche authored Dec 27, 2024
1 parent 4d49cf8 commit 0f37f5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { loadDetail } from '$lib/utils/load';
import type { PageServerLoad } from './$types';

export const load: PageServerLoad = async (event) => {
const modelInfo = getModelInfo(event.params.model + '_duplicate');
const modelInfo = getModelInfo(event.params.model);
const foreignKeys: Record<string, any> = {};

if (modelInfo.foreignKeyFields) {
Expand Down

0 comments on commit 0f37f5c

Please sign in to comment.