Update SelfServeQuestionsTable to use getProductName for product parsing

- Replaced hardcoded `productId` parsing logic with dynamic `getProductName` function for consistency in product name handling.
This commit is contained in:
Jeppe Bundgaard
2026-01-08 13:19:22 +01:00
parent 17df279797
commit 178ad88661
@@ -57,7 +57,7 @@ const props = defineProps({
:loadList="loadList"
column="product"
:edit-function="SessionUser.objects.self_serve_questions.showEditObjectFieldForm"
:parse-function="(productId) => 'Køretøjstype ' + productId"
:parse-function="(productId) => SessionUser.objects.products.functions.getProductName(productId)"
:permission-check-function="SessionUser.canAccessAdmin"
/>
<EditableTableColumn