Skip to content

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

style: reformat code (#130)

Luke Zhou2343e8336dae
diff --git a/frontend/src/components/IssueSidebar.vue b/frontend/src/components/IssueSidebar.vue
index a0a5c13562..aff6c24133 100644
--- a/frontend/src/components/IssueSidebar.vue
+++ b/frontend/src/components/IssueSidebar.vue
@@ -65,14 +65,7 @@
</template>
</div>
<div
- class="
- mt-6
- border-t border-block-border
- pt-6
- grid
- gap-y-6 gap-x-6
- grid-cols-3
- "
+ class="mt-6 border-t border-block-border pt-6 grid gap-y-6 gap-x-6 grid-cols-3"
>
<template v-if="showStageSelect">
<h2 class="textlabel flex items-center col-span-1 col-start-1">
@@ -127,14 +120,7 @@
</router-link>
</div>
<div
- class="
- mt-6
- border-t border-block-border
- pt-6
- grid
- gap-y-6 gap-x-6
- grid-cols-3
- "
+ class="mt-6 border-t border-block-border pt-6 grid gap-y-6 gap-x-6 grid-cols-3"
>
<h2 class="textlabel flex items-center col-span-1 col-start-1">
Project
@@ -388,13 +374,10 @@ export default {
});
} else {
store
- .dispatch(
- "database/fetchDatabaseByInstanceIdAndName",
- {
- instanceId: props.instance.id,
- name: databaseName.value,
- }
- )
+ .dispatch("database/fetchDatabaseByInstanceIdAndName", {
+ instanceId: props.instance.id,
+ name: databaseName.value,
+ })
.then((database: Database) => {
router.push({
name: "workspace.database.detail",
diff --git a/frontend/src/views/IssueDetail.vue b/frontend/src/views/IssueDetail.vue
index 97fa66da14..ab243bd271 100644
--- a/frontend/src/views/IssueDetail.vue
+++ b/frontend/src/views/IssueDetail.vue
@@ -6,49 +6,19 @@
>
<div
v-if="showCancelBanner"
- class="
- h-8
- w-full
- text-base
- font-medium
- bg-gray-400
- text-white
- flex
- justify-center
- items-center
- "
+ class="h-8 w-full text-base font-medium bg-gray-400 text-white flex justify-center items-center"
>
Canceled
</div>
<div
v-else-if="showSuccessBanner"
- class="
- h-8
- w-full
- text-base
- font-medium
- bg-success
- text-white
- flex
- justify-center
- items-center
- "
+ class="h-8 w-full text-base font-medium bg-success text-white flex justify-center items-center"
>
Done
</div>
<div
v-else-if="showPendingApproval"
- class="
- h-8
- w-full
- text-base
- font-medium
- bg-accent
- text-white
- flex
- justify-center
- items-center
- "
+ class="h-8 w-full text-base font-medium bg-accent text-white flex justify-center items-center"
>
Waiting Approval
</div>
@@ -114,12 +84,7 @@
<div class="flex max-w-3xl mx-auto px-6 lg:max-w-full">
<div class="flex flex-col flex-1 lg:flex-row-reverse lg:col-span-2">
<div
- class="
- py-6
- lg:pl-4 lg:w-96
- xl:w-112
- lg:border-l lg:border-block-border
- "
+ class="py-6 lg:pl-4 lg:w-96 xl:w-112 lg:border-l lg:border-block-border"
>
<IssueSidebar
:issue="issue"