mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 10:23:37 +00:00
deshabilitado el boton de No Nulo, cuando es PK
This commit is contained in:
parent
7e12237459
commit
a469655981
@ -137,6 +137,8 @@ export default function TableField({ data, tid, index }) {
|
|||||||
type={data.notNull ? "primary" : "tertiary"}
|
type={data.notNull ? "primary" : "tertiary"}
|
||||||
title={t("not_null")}
|
title={t("not_null")}
|
||||||
theme={data.notNull ? "solid" : "light"}
|
theme={data.notNull ? "solid" : "light"}
|
||||||
|
disabled={data.primary ? true: false }
|
||||||
|
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setUndoStack((prev) => [
|
setUndoStack((prev) => [
|
||||||
...prev,
|
...prev,
|
||||||
|
Loading…
Reference in New Issue
Block a user