Skip to content

Commit

Permalink
Fast fixes before first release
Browse files Browse the repository at this point in the history
  • Loading branch information
monntecc committed Jun 16, 2024
1 parent 22a0813 commit bce9219
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/ToolbarComponent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { ref } from 'vue';
import ToolbarItemComponent from '@/components/ui/ToolbarItemComponent.vue';
Expand Down
1 change: 0 additions & 1 deletion src/components/ui/ToolbarSidenavComponent.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script setup lang="ts">
import { onBeforeUnmount, ref } from 'vue';
const lastWidth = ref<number>(320);
const isResizing = ref<boolean>(false);
const sidenav = ref<HTMLDivElement | null>(null);
Expand Down
4 changes: 3 additions & 1 deletion src/stores/file.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ export const useFileStore = defineStore('file', {
const name: string = splitPath.pop() ?? '';
this.active.name = name;
// Replace also in opened tabs
const index: number = this.opened.findIndex((file: IFileInformation): boolean => file.tabId === this.active?.tabId);
const index: number = this.opened.findIndex(
(file: IFileInformation): boolean => file.tabId === this.active?.tabId
);
this.opened[index].name = name;
},
async saveActive(): Promise<void> {
Expand Down

0 comments on commit bce9219

Please sign in to comment.