kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix: fix tags repr in library edit card
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2329>environments/review-docs-renov-vr2nay/deployments/16781
rodzic
88d3e23cc9
commit
25d378ae16
|
@ -108,7 +108,10 @@ const updatedFields = computed(() => {
|
|||
if (state?.[id]) {
|
||||
const oldState = state[id]
|
||||
result.old = oldState
|
||||
result.oldRepr = getValueRepr(('value' in oldState && oldState.value) ?? oldState) ?? ''
|
||||
result.oldRepr = getValueRepr('value' in oldState
|
||||
? oldState.value
|
||||
: oldState
|
||||
) ?? ''
|
||||
|
||||
// we compute the diffs between the old and new values
|
||||
result.diff = diffWordsWithSpace(result.oldRepr, result.newRepr)
|
||||
|
|
Ładowanie…
Reference in New Issue