fix(gbase): sync type label after version switch
This commit is contained in:
2 files changed
+39
-1
No files matched your search
@@ -1331,7 +1331,8 @@ function profileForConfig(config: ConnectionConfig) {
|
||||
}
|
||||
|
||||
function selectedProfile() {
|
||||
return driverProfiles[selectedType.value] ?? driverProfiles.mysql;
|
||||
const profile = selectedType.value === "gbase" && (form.value.driver_profile === "gbase8a" || form.value.driver_profile === "gbase8s") ? form.value.driver_profile : selectedType.value;
|
||||
return driverProfiles[profile] ?? driverProfiles.mysql;
|
||||
}
|
||||
|
||||
function mqExtraRecord(config?: Partial<MqAdminConfig>): Record<string, unknown> {
|
||||
|
||||
Reference in new issue
Block a user