Skip to content

Commit 12897e0

Browse files
authored
UIQM-781 linked field tags should always be disabled (#828)
1 parent 350d08f commit 12897e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/QuickMarcEditor/utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,10 @@ const READ_ONLY_TAGS = {
11321132
};
11331133

11341134
export const isReadOnlyTag = (recordRow, marcType) => {
1135+
if (marcType === MARC_TYPES.BIB && recordRow._isLinked) {
1136+
return true;
1137+
}
1138+
11351139
return READ_ONLY_TAGS[marcType].includes(recordRow.tag) || isLastRecord(recordRow);
11361140
};
11371141

0 commit comments

Comments
 (0)