}
- disabled={refIsTag}
+ disabled={props.refIsTag}
link={
SQL Query
@@ -72,7 +72,7 @@ export default function EditTableButtons(props: Props) {
/>
}
- disabled={refIsTag}
+ disabled={props.refIsTag}
link={
}
- disabled={refIsTag}
+ disabled={props.refIsTag}
link={
File Upload
@@ -95,7 +95,7 @@ export default function EditTableButtons(props: Props) {
Drop Table
@@ -106,3 +106,20 @@ export default function EditTableButtons(props: Props) {
);
}
+
+function ForDolt(props: Props) {
+ const tagRes = useTagListQuery({
+ variables: props.params,
+ });
+ const refIsTag = !!tagRes.data?.tags.list.find(
+ t => t.tagName === props.params.refName,
+ );
+ return