Skip to content

Commit

Permalink
fix: rename components and variables in SettingBarContext
Browse files Browse the repository at this point in the history
  • Loading branch information
64knl committed Jun 22, 2023
1 parent 702ffb8 commit 8a4a099
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/renderer/components/SettingBarContext.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
>
<span class="d-flex"><i class="mdi mdi-18px mdi-content-duplicate text-light pr-1" /> {{ t('word.duplicate') }}</span>
</div>
<div class="context-element" @click.stop="showAppearenceModal">
<span class="d-flex"><i class="mdi mdi-18px mdi-brush-variant text-light pr-1" /> {{ t('word.appearence') }}</span>
<div class="context-element" @click.stop="showAppearanceModal">
<span class="d-flex"><i class="mdi mdi-18px mdi-brush-variant text-light pr-1" /> {{ t('word.appearance') }}</span>
</div>
<div class="context-element" @click="showConfirmModal">
<span class="d-flex"><i class="mdi mdi-18px mdi-delete text-light pr-1" /> {{ t('word.delete') }}</span>
Expand All @@ -40,15 +40,15 @@
</div>
</template>
</ConfirmModal>
<ModalFolderAppearence
<ModalFolderAppearance
v-if="isFolderEdit"
:folder="contextConnection"
@close="hideAppearenceModal"
@close="hideAppearanceModal"
/>
<ModalConnectionAppearence
<ModalConnectionAppearance
v-if="isConnectionEdit"
:connection="contextConnection"
@close="hideAppearenceModal"
@close="hideAppearanceModal"
/>
</BaseContextMenu>
</template>
Expand All @@ -62,8 +62,8 @@ import { SidebarElement, useConnectionsStore } from '@/stores/connections';
import { useWorkspacesStore } from '@/stores/workspaces';
import BaseContextMenu from '@/components/BaseContextMenu.vue';
import ConfirmModal from '@/components/BaseConfirmModal.vue';
import ModalFolderAppearence from '@/components/ModalFolderAppearence.vue';
import ModalConnectionAppearence from '@/components/ModalConnectionAppearence.vue';
import ModalFolderAppearance from '@/components/ModalFolderAppearance.vue';
import ModalConnectionAppearance from '@/components/ModalConnectionAppearance.vue';
const { t } = useI18n();
Expand Down Expand Up @@ -118,14 +118,14 @@ const duplicateConnection = () => {
closeContext();
};
const showAppearenceModal = () => {
const showAppearanceModal = () => {
if (props.contextConnection.isFolder)
isFolderEdit.value = true;
else
isConnectionEdit.value = true;
};
const hideAppearenceModal = () => {
const hideAppearanceModal = () => {
isConnectionEdit.value = false;
isFolderEdit.value = false;
closeContext();
Expand Down

0 comments on commit 8a4a099

Please sign in to comment.