Mark readonly as restricted
This commit is contained in:
parent
b68940bca4
commit
fbfe85c903
|
@ -29,8 +29,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const getText = columns => {
|
const getText = columns => {
|
||||||
const hidden = columns.filter(col => !col.visible).length
|
const restricted = columns.filter(
|
||||||
return hidden ? `Columns (${hidden} restricted)` : "Columns"
|
col => !col.visible || col.readonly
|
||||||
|
).length
|
||||||
|
return restricted ? `Columns (${restricted} restricted)` : "Columns"
|
||||||
}
|
}
|
||||||
|
|
||||||
$: isViewReadonlyColumnsEnabled = $licensing.isViewReadonlyColumnsEnabled
|
$: isViewReadonlyColumnsEnabled = $licensing.isViewReadonlyColumnsEnabled
|
||||||
|
|
Loading…
Reference in New Issue