Skip to content

Commit

Permalink
refactor: minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Sep 17, 2023
1 parent e7bec0a commit cb92ca9
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/BaseIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const props = defineProps({
default: () => null
},
rotate: {
type: String,
type: Number,
default: () => null
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/ModalProcessesListContext.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span class="d-flex">
<BaseIcon
icon-name="mdiNumeric0"
rotate="90deg"
:rotate="90"
class="text-light mt-1 mr-1"
:size="18"
/> {{ t('database.cell', 1) }}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabNewTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<BaseIcon
class="mr-1"
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="24"
/>
<span>{{ t('database.indexes') }}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<BaseIcon
class="mr-1"
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="24"
/>
<span>{{ t('database.indexes') }}</span>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/WorkspaceTabPropsTableContext.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
class="column-key pr-1 mt-1 mr-1"
:class="`key-${index}`"
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="20"
/> {{ index }}</span>
</div>
Expand Down Expand Up @@ -59,7 +59,7 @@
class="column-key pr-1 mt-1 mr-1"
:class="`key-${index.type}`"
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="20"
/> {{ index.name }}</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BaseIcon
class="mr-1"
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="24"
/>
<span class="cut-text">{{ t('database.indexes') }} "{{ table }}"</span>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabPropsTableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>
<BaseIcon
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="14"
class="d-inline-block column-key c-help"
:class="`key-${index.type}`"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
<BaseIcon
class="mr-1 mt-1"
icon-name="mdiTimerSand"
rotate="180deg"
:rotate="180"
:size="16"
/> <b>{{ durationsCount / 1000 }}s</b>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQueryTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div v-if="field.key" :title="keyName(field.key)">
<BaseIcon
icon-name="mdiKey"
rotate="45deg"
:rotate="45"
:size="14"
class="column-key c-help mt-1 mr-1"
:class="`key-${field.key}`"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabQueryTableContext.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<BaseIcon
icon-name="mdiNumeric0"
class="mr-1 mt-1 text-light"
rotate="90deg"
:rotate="90"
:size="18"
/> {{ t('database.cell', 1) }}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/WorkspaceTabTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
<BaseIcon
class="mr-1 mt-1"
icon-name="mdiTimerSand"
rotate="180deg"
:rotate="180"
:size="16"
/> <b>{{ results[0].duration / 1000 }}s</b>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/untyped.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ declare module 'vuedraggable' {// <- to export as default
export = draggableComponent;
}

declare let SvgIcon: import('vue').DefineComponent<{
declare const SvgIcon: import('vue').DefineComponent<{
type: {
type: StringConstructor;
default: string;
Expand All @@ -102,7 +102,7 @@ declare let SvgIcon: import('vue').DefineComponent<{
optional: boolean;
};
rotate: {
type: StringConstructor;
type: NumberConstructor;
optional: boolean;
};
}>;
Expand Down

0 comments on commit cb92ca9

Please sign in to comment.