Skip to content

Commit

Permalink
refactor: clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Oct 4, 2024
1 parent 2f4db90 commit 2afd2c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions apps/admin/src/components/PluginSettings/AccountSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,15 @@
:button-wrapper="prefixComponent(AdminComponent.ButtonGroup)"
:closeable="hasAccount"
:initial-tab="!hasAccount"
:tabs="tabs">
<template
v-if="refreshAction"
#button-wrapper>
<ActionButton
:action="refreshAction"
:size="Size.Small"
:variant="Variant.Secondary" />
</template>
</TabNavigation>
:tabs="tabs" />
</PdkBox>
</template>

<script lang="ts" setup>
import {computed} from 'vue';
import {get} from '@vueuse/core';
import {Size, Status, Variant} from '@myparcel-pdk/common';
import {ActionButton, StatusIndicator, TabNavigation} from '../common';
import {Status} from '@myparcel-pdk/common';
import {StatusIndicator, TabNavigation} from '../common';
import {prefixComponent} from '../../utils';
import {type TabDefinition} from '../../types';
import {useActionStore} from '../../stores';
Expand Down
2 changes: 1 addition & 1 deletion apps/admin/src/components/PluginSettings/DebugOptions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {ActionButton} from '../common';
import {useActionStore, useQueryStore} from '../../stores';
import {instantiateAction} from '../../services';
import {useLanguage} from '../../composables';
import {downloadLogsAction, refreshAccountAction, updateAccountAction, useDownloadLogsMutation,} from '../../actions';
import {downloadLogsAction, refreshAccountAction, updateAccountAction, useDownloadLogsMutation} from '../../actions';
const {translate} = useLanguage();
Expand Down

0 comments on commit 2afd2c5

Please sign in to comment.