Skip to content

Commit 1130bde

Browse files
committed
apps/dashboard: remove old store implementation
1 parent 0455557 commit 1130bde

File tree

3 files changed

+4
-256
lines changed

3 files changed

+4
-256
lines changed

apps/dashboard/src/components/CameraWindow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
<script setup>
8080
import { ref, onMounted, onBeforeUnmount } from "vue";
81-
import { useClientStore } from "@/store/clients";
81+
import { useClientStore } from "@/stores/clientStore";
8282
8383
const clientStore = useClientStore();
8484

apps/dashboard/src/components/FixtureGroup.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</template>
5151

5252
<script setup>
53-
import { useClientStore } from "@/store/clients";
53+
import { useClientStore } from "@/stores/clientStore";
5454
import FixtureWidget from "./FixtureWidget.vue";
5555
import { computed } from "vue";
5656
@@ -62,10 +62,10 @@ defineProps({
6262
});
6363
6464
const clientStore = useClientStore();
65-
const fixtures = computed(() => Array.from(clientStore.fixtures.values()));
65+
const fixtures = computed(() => Object.values(clientStore.fixtures.value));
6666
6767
const removeFixture = (fixture) => {
68-
clientStore.removeFixture(fixture.id);
68+
clientStore.removeFixture(fixture.mid);
6969
};
7070
</script>
7171

apps/dashboard/src/store/clients.js

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)