mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 02:09:17 +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"}
|
||||
title={t("not_null")}
|
||||
theme={data.notNull ? "solid" : "light"}
|
||||
disabled={data.primary ? true: false }
|
||||
|
||||
onClick={() => {
|
||||
setUndoStack((prev) => [
|
||||
...prev,
|
||||
|
Loading…
Reference in New Issue
Block a user