fix: resolve conflict markers in non-sql connection filter lists
This commit is contained in:
1 parent
7ff4363dae
commit
cc2fa698d2
4 files changed
+5
-25
No files matched your search
@@ -114,11 +114,7 @@ const showModified = ref(true);
|
|||||||
|
|
||||||
let syncPlanRequestId = 0;
|
let syncPlanRequestId = 0;
|
||||||
|
|
||||||
<<<<<<< HEAD
|
const sqlConnections = computed(() => store.connections.filter((connection) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "zookeeper", "mq", "nacos"].includes(connection.db_type)));
|
||||||
const sqlConnections = computed(() => store.connections.filter((connection) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "etcd", "zookeeper", "mq", "nacos"].includes(connection.db_type)));
|
|
||||||
=======
|
|
||||||
const sqlConnections = computed(() => store.connections.filter((connection) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "mq", "nacos"].includes(connection.db_type)));
|
|
||||||
>>>>>>> origin/main
|
|
||||||
const selectedSourceTableNames = computed(() => sourceTables.value.filter((table) => selectedSourceTables.value.has(table)));
|
const selectedSourceTableNames = computed(() => sourceTables.value.filter((table) => selectedSourceTables.value.has(table)));
|
||||||
const isBatchCompare = computed(() => selectedSourceTableNames.value.length > 1);
|
const isBatchCompare = computed(() => selectedSourceTableNames.value.length > 1);
|
||||||
const filteredSourceTables = computed(() => {
|
const filteredSourceTables = computed(() => {
|
||||||
|
|||||||
@@ -65,11 +65,7 @@ const exportCancelled = ref(false);
|
|||||||
const pendingPrefillTable = ref("");
|
const pendingPrefillTable = ref("");
|
||||||
const pendingPrefillTables = ref<string[]>([]);
|
const pendingPrefillTables = ref<string[]>([]);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "zookeeper", "mq", "nacos"].includes(c.db_type)));
|
||||||
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "etcd", "zookeeper", "mq", "nacos"].includes(c.db_type)));
|
|
||||||
=======
|
|
||||||
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "mq", "nacos"].includes(c.db_type)));
|
|
||||||
>>>>>>> origin/main
|
|
||||||
|
|
||||||
const canExport = computed(() => connectionId.value && database.value && schema.value && !loadingTables.value && !tableError.value && (tables.value.length === 0 || selectedTables.value.length > 0) && (includeStructure.value || includeData.value || includeObjects.value) && !isExporting.value);
|
const canExport = computed(() => connectionId.value && database.value && schema.value && !loadingTables.value && !tableError.value && (tables.value.length === 0 || selectedTables.value.length > 0) && (includeStructure.value || includeData.value || includeObjects.value) && !isExporting.value);
|
||||||
|
|
||||||
|
|||||||
@@ -61,11 +61,7 @@ const activeConnectionValue = computed(() => props.activeConnection?.id || "");
|
|||||||
const activeSchemaValue = computed(() => props.activeTab.schema || "");
|
const activeSchemaValue = computed(() => props.activeTab.schema || "");
|
||||||
const supportsExplain = computed(() => {
|
const supportsExplain = computed(() => {
|
||||||
const dbType = props.activeConnection?.db_type;
|
const dbType = props.activeConnection?.db_type;
|
||||||
<<<<<<< HEAD
|
return dbType !== "redis" && dbType !== "mongodb" && dbType !== "elasticsearch" && dbType !== "qdrant" && dbType !== "milvus" && dbType !== "weaviate" && dbType !== "etcd" && dbType !== "zookeeper" && dbType !== "mq" && dbType !== "nacos";
|
||||||
return dbType !== "redis" && dbType !== "mongodb" && dbType !== "elasticsearch" && dbType !== "qdrant" && dbType !== "milvus" && dbType !== "etcd" && dbType !== "zookeeper" && dbType !== "mq" && dbType !== "nacos";
|
|
||||||
=======
|
|
||||||
return dbType !== "redis" && dbType !== "mongodb" && dbType !== "elasticsearch" && dbType !== "qdrant" && dbType !== "milvus" && dbType !== "weaviate" && dbType !== "etcd" && dbType !== "mq" && dbType !== "nacos";
|
|
||||||
>>>>>>> origin/main
|
|
||||||
});
|
});
|
||||||
const isSingleDb = computed(() => isSingleDatabase(props.activeConnection?.db_type));
|
const isSingleDb = computed(() => isSingleDatabase(props.activeConnection?.db_type));
|
||||||
const hasDefaultDatabaseOption = computed(() => activeDatabaseOptions.value.includes(""));
|
const hasDefaultDatabaseOption = computed(() => activeDatabaseOptions.value.includes(""));
|
||||||
@@ -255,11 +251,7 @@ function connectionById(connectionId: string): ConnectionConfig | undefined {
|
|||||||
</template>
|
</template>
|
||||||
</SearchableSelect>
|
</SearchableSelect>
|
||||||
</div>
|
</div>
|
||||||
<<<<<<< HEAD
|
<div v-if="activeConnection?.db_type !== 'elasticsearch' && activeConnection?.db_type !== 'qdrant' && activeConnection?.db_type !== 'milvus' && activeConnection?.db_type !== 'weaviate' && activeConnection?.db_type !== 'zookeeper' && !isSingleDb" class="flex items-center gap-1">
|
||||||
<div v-if="activeConnection?.db_type !== 'elasticsearch' && activeConnection?.db_type !== 'qdrant' && activeConnection?.db_type !== 'milvus' && activeConnection?.db_type !== 'zookeeper' && !isSingleDb" class="flex items-center gap-1">
|
|
||||||
=======
|
|
||||||
<div v-if="activeConnection?.db_type !== 'elasticsearch' && activeConnection?.db_type !== 'qdrant' && activeConnection?.db_type !== 'milvus' && activeConnection?.db_type !== 'weaviate' && !isSingleDb" class="flex items-center gap-1">
|
|
||||||
>>>>>>> origin/main
|
|
||||||
<Database class="h-3.5 w-3.5 shrink-0" />
|
<Database class="h-3.5 w-3.5 shrink-0" />
|
||||||
<SearchableSelect
|
<SearchableSelect
|
||||||
:model-value="activeDatabaseValue"
|
:model-value="activeDatabaseValue"
|
||||||
|
|||||||
@@ -49,11 +49,7 @@ const terminalStatus = ref<SqlFileStatus | "idle">("idle");
|
|||||||
const terminalError = ref("");
|
const terminalError = ref("");
|
||||||
const refreshedTarget = ref(false);
|
const refreshedTarget = ref(false);
|
||||||
|
|
||||||
<<<<<<< HEAD
|
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "zookeeper", "mq", "nacos"].includes(c.db_type)));
|
||||||
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "etcd", "zookeeper", "mq", "nacos"].includes(c.db_type)));
|
|
||||||
=======
|
|
||||||
const sqlConnections = computed(() => store.connections.filter((c) => !["redis", "mongodb", "elasticsearch", "qdrant", "milvus", "weaviate", "etcd", "mq", "nacos"].includes(c.db_type)));
|
|
||||||
>>>>>>> origin/main
|
|
||||||
|
|
||||||
const selectedConnection = computed(() => sqlConnections.value.find((c) => c.id === connectionId.value));
|
const selectedConnection = computed(() => sqlConnections.value.find((c) => c.id === connectionId.value));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user