Skip to content

Commit

Permalink
fix(ui) - Fix issue #53 Integrate PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkbln committed Dec 21, 2024
1 parent 48d443e commit 1467c20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions client/src/pages/onboarding/steps/import/NextSteps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<script setup lang="ts">
import { type Action } from 'redux';
import { computed } from 'vue';
import { computed, onMounted } from 'vue';
import { useI18n } from 'vue-i18n';
import { mapState, injectStore } from 'redux-vuex';
import { selectors, actions } from '../../../../store';
Expand All @@ -71,6 +71,7 @@ import redirectIconUrl from '../../../../assets/next-redirect.svg';
import episodesIconUrl from '../../../../assets/next-check-episodes.svg';
const { t } = useI18n();
const { dispatch } = injectStore();
const state = mapState<{ feedUrl: string; site: string }>({
feedUrl: selectors.podcast.feed,
Expand All @@ -81,6 +82,8 @@ const episodesListLink = computed(() => `${state.site}/wp-admin/edit.php?post_ty
const selectText = (event: MouseEvent) => (event?.target as HTMLInputElement).select();
const { dispatch } = injectStore();
dispatch(actions.podcast.readFeedUrl() as Action);
onMounted(() => {
dispatch(actions.podcast.readFeedUrl() as Action);
});
</script>

0 comments on commit 1467c20

Please sign in to comment.