Skip to content

Commit

Permalink
Code cleanup, resort imports (#2806)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager authored Dec 12, 2024
1 parent 62fefdf commit 69f3cd8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion resources/js/views/Error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
import { ref } from "vue";
import Divider from "primevue/divider";
import Message from "primevue/message";
import Button from "primevue/button";
import Panel from "primevue/panel";
import { useLycheeStateStore } from "@/stores/LycheeState";
import { storeToRefs } from "pinia";
import Button from "primevue/button";
type Trace = {
class: string;
Expand Down
8 changes: 4 additions & 4 deletions resources/js/views/FixTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@
import { ref, onMounted } from "vue";
import MaintenanceService from "@/services/maintenance-service";
import Toolbar from "primevue/toolbar";
import OpenLeftMenu from "@/components/headers/OpenLeftMenu.vue";
import ProgressBar from "primevue/progressbar";
import Button from "primevue/button";
import ScrollTop from "primevue/scrolltop";
import VirtualScroller from "primevue/virtualscroller";
import { useToast } from "primevue/usetoast";
import AlbumService from "@/services/album-service";
import { AugmentedAlbum, useTreeOperations } from "@/composables/album/treeOperations";
import { useToast } from "primevue/usetoast";
import OpenLeftMenu from "@/components/headers/OpenLeftMenu.vue";
import FixTreeLine from "@/components/maintenance/FixTreeLine.vue";
import Left from "@/components/maintenance/mini/Left.vue";
import Right from "@/components/maintenance/mini/Right.vue";
import LeftWarn from "@/components/maintenance/mini/LeftWarn.vue";
import RightWarn from "@/components/maintenance/mini/RightWarn.vue";
import ScrollTop from "primevue/scrolltop";
import VirtualScroller from "primevue/virtualscroller";
const albums = ref<AugmentedAlbum[] | undefined>(undefined);
const originalAlbums = ref<App.Http.Resources.Diagnostics.AlbumTree[] | undefined>(undefined);
Expand Down
2 changes: 1 addition & 1 deletion resources/js/views/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</main>
</template>
<script setup lang="ts">
import { Ref, ref } from "vue";
import { ref } from "vue";
import { RouterLink, useRouter } from "vue-router";
import InitService from "@/services/init-service";
import LandingFooter from "@/components/footers/LandingFooter.vue";
Expand Down
1 change: 0 additions & 1 deletion resources/js/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
</div>
</template>
<script setup lang="ts">
import Button from "primevue/button";
import Toolbar from "primevue/toolbar";
import SetLogin from "@/components/forms/profile/SetLogin.vue";
import SetSecondFactor from "@/components/forms/profile/SetSecondFactor.vue";
Expand Down
2 changes: 1 addition & 1 deletion resources/js/views/Sharing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
</Panel>
</template>
<script setup lang="ts">
import { ref } from "vue";
import ShareLine from "@/components/forms/sharing/ShareLine.vue";
import OpenLeftMenu from "@/components/headers/OpenLeftMenu.vue";
import SharingService from "@/services/sharing-service";
import Panel from "primevue/panel";
import Toolbar from "primevue/toolbar";
import { useToast } from "primevue/usetoast";
import { ref } from "vue";
const perms = ref<App.Http.Resources.Models.AccessPermissionResource[] | undefined>(undefined);
const toast = useToast();
Expand Down
2 changes: 1 addition & 1 deletion resources/js/views/Statistics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
</Panel>
</template>
<script setup lang="ts">
import { ref } from "vue";
import Toolbar from "primevue/toolbar";
import Panel from "primevue/panel";
import { useAuthStore } from "@/stores/Auth";
import { ref } from "vue";
import { useLycheeStateStore } from "@/stores/LycheeState";
import { storeToRefs } from "pinia";
import { useRouter } from "vue-router";
Expand Down

0 comments on commit 69f3cd8

Please sign in to comment.