feature/photo-view #133

Merged
jsegarra merged 7 commits from wbuezas/hedera-web-mindshore:feature/photo-view into beta 2025-04-02 21:39:53 +00:00
1 changed files with 2 additions and 4 deletions
Showing only changes of commit a7264fe1fc - Show all commits

View File

@ -7,7 +7,6 @@ import VnForm from 'src/components/common/VnForm.vue';
import VnInput from 'src/components/common/VnInput.vue';
import useNotify from 'src/composables/useNotify.js';
const jApi = inject('jApi');
const api = inject('api');
const { t } = useI18n();
const { notify } = useNotify();
@ -45,9 +44,8 @@ const isSubmitable = computed(() =>
const getImageCollections = async () => {
try {
imageCollections.value = await jApi.query(
'SELECT name, `desc` FROM imageCollection ORDER BY `desc`'
);
const { data } = await api.get('imageCollections');
imageCollections.value = data;
} catch (error) {
console.error('Error getting image collections:', error);
}