Commit ae8f36f6 authored by Savas Vedova's avatar Savas Vedova

Apply 1 suggestion(s) to 1 file(s)

parent f04fcc23
......@@ -3,6 +3,9 @@ import App from 'ee/vulnerabilities/components/vulnerability.vue';
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
export default el => {
if (!el) {
return null;
}
const vulnerability = convertObjectPropsToCamelCase(JSON.parse(el.dataset.vulnerability), {
deep: true,
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment