More keys

This commit is contained in:
Terry Sutton
2022-12-21 17:19:08 -03:30
parent 82d7eaed40
commit eba225523a
3 changed files with 21 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
// check if the link is allowed to be displayed
export function isFuncNotInLibraryOrVersion(id, type, allowedKeys) {
if (id && allowedKeys && !allowedKeys.includes(id) && type !== 'markdown') {
return true
}
}