Only add repeater id to Card block URL if needed (#13023)
* Only add repeater id to URL if needed * update account portal * update account portal
This commit is contained in:
parent
0d8a01a33c
commit
e171873b10
|
@ -1 +1 @@
|
|||
Subproject commit ba40a467484963f8041144345469f4b395e31acc
|
||||
Subproject commit 8cbe73c9dc39d0bda3dbca3dac345a4a1f916f18
|
|
@ -69,7 +69,10 @@
|
|||
}
|
||||
const col = linkColumn || "_id"
|
||||
const split = url.split("/:")
|
||||
return `${split[0]}/{{ ${safe(repeaterId)}.${safe(col)} }}`
|
||||
if (split.length > 1) {
|
||||
return `${split[0]}/{{ ${safe(repeaterId)}.${safe(col)} }}`
|
||||
}
|
||||
return url
|
||||
}
|
||||
|
||||
// Load the datasource schema so we can determine column types
|
||||
|
|
Loading…
Reference in New Issue