Added variant relation type.
This commit is contained in:
@@ -36,7 +36,8 @@ let searchTimeout = null;
|
||||
let searchCount = 0;
|
||||
|
||||
// each type can be read from either side, e.g. this scene is a 'Remaster of' or 'Remastered as' the selected scene
|
||||
const options = computed(() => props.types.flatMap((type) => ['target', 'source'].map((direction) => ({
|
||||
// symmetric types like variants read the same both ways
|
||||
const options = computed(() => props.types.flatMap(({ type, symmetric }) => (symmetric ? ['both'] : ['target', 'source']).map((direction) => ({
|
||||
key: `${type}-${direction}`,
|
||||
type,
|
||||
direction,
|
||||
|
||||
Reference in New Issue
Block a user