Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Missing id type change from string to number

天舟335f08f1247d
diff --git a/frontend/src/components/DataSourceMemberForm.vue b/frontend/src/components/DataSourceMemberForm.vue
index 06b00e3fe7..ae63c52a0d 100644
--- a/frontend/src/components/DataSourceMemberForm.vue
+++ b/frontend/src/components/DataSourceMemberForm.vue
@@ -218,10 +218,10 @@ export default {
type: Object as PropType<DataSource>,
},
principalId: {
- type: String,
+ type: Number,
},
issueId: {
- type: String,
+ type: Number,
},
},
components: {
@@ -312,7 +312,7 @@ export default {
}
};
- const updateState = (field: string, value: string) => {
+ const updateState = (field: string, value: number) => {
if (field == "environmentId") {
state.environmentId = value;
} else if (field == "instanceId") {
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index c2d18f3b04..24120fb48e 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -11,7 +11,16 @@
<div class="-mt-20 sm:flex sm:items-end sm:space-x-5">
<BBAvatar :size="'huge'" :username="principal.name" />
<div
- class="mt-6 sm:flex-1 sm:min-w-0 sm:flex sm:items-center sm:justify-end sm:space-x-6 sm:pb-1"
+ class="
+ mt-6
+ sm:flex-1
+ sm:min-w-0
+ sm:flex
+ sm:items-center
+ sm:justify-end
+ sm:space-x-6
+ sm:pb-1
+ "
>
<div class="mt-6 flex flex-row justify-stretch space-x-4">
<button v-if="false" type="button" class="btn-normal">
@@ -158,7 +167,7 @@ export default {
name: "ProfileDashboard",
props: {
principalId: {
- type: String,
+ type: Number,
},
},
components: {},