1
0

feat: use defineProps types for ProjectSettingsDropdown

This commit is contained in:
Dominik Pschenitschni 2024-06-26 20:24:30 +02:00 committed by konrad
parent 5b0ce4e01c
commit 9e266f1e36

View File

@ -115,7 +115,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import {computed, type PropType, ref, watchEffect} from 'vue' import {computed, ref, watchEffect} from 'vue'
import BaseButton from '@/components/base/BaseButton.vue' import BaseButton from '@/components/base/BaseButton.vue'
import Dropdown from '@/components/misc/Dropdown.vue' import Dropdown from '@/components/misc/Dropdown.vue'
@ -129,12 +129,9 @@ import {useConfigStore} from '@/stores/config'
import {useProjectStore} from '@/stores/projects' import {useProjectStore} from '@/stores/projects'
import {useAuthStore} from '@/stores/auth' import {useAuthStore} from '@/stores/auth'
const props = defineProps({ const props = defineProps<{
project: { project: IProject
type: Object as PropType<IProject>, }>()
required: true,
},
})
const projectStore = useProjectStore() const projectStore = useProjectStore()
const subscription = ref<ISubscription | null>(null) const subscription = ref<ISubscription | null>(null)