mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-10-13 13:58:05 +00:00
Fix type self-referencing
This commit is contained in:
@@ -78,7 +78,7 @@ export default function TypeField({ data, tid, fid }) {
|
||||
})),
|
||||
...types
|
||||
.filter(
|
||||
(type) => type.name.toLowerCase() !== data.name.toLowerCase(),
|
||||
(type) => type.name.toLowerCase() !== types[tid].name.toLowerCase(),
|
||||
)
|
||||
.map((type) => ({
|
||||
label: type.name.toUpperCase(),
|
||||
|
Reference in New Issue
Block a user