Skip to content

Commit

Permalink
feat(solution-settings): shows the correct solution title
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantela committed Sep 25, 2024
1 parent dbdc8ab commit ffe8b85
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
15 changes: 15 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
/// <reference types="vite/client" />

declare global {
type Solution = {
id: string;
title: string;
description: string;
tip: string;
globals: string[];
mockedValues: {
[key: string]: string | string[] | boolean;
};
};
}

export {};
2 changes: 1 addition & 1 deletion src/components/solutions/SolutionsGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<DrawerSolution
:id="drawerSolution.solution?.id || ''"
v-model:isOpen="drawerSolution.isOpen"
:title="solutionToIntegrate.solution?.title || ''"
:title="drawerSolution.solution?.title || ''"
:category="category"
:icon="icon"
:iconScheme="iconScheme"
Expand Down
6 changes: 0 additions & 6 deletions src/stores/Solutions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ import { defineStore } from 'pinia';
import { computed, ref } from 'vue';
import APISolutions from '@/api/solutions';

type Solution = {
id: string;
title: string;
description: string;
};

function makeS({ request, category }) {
const status = ref<null | string>(null);
const alreadyCalledLoad = ref(false);
Expand Down

0 comments on commit ffe8b85

Please sign in to comment.