fixed linting errors on build
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { defineProps, defineEmits } from 'vue'
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
isFavorited: {
|
isFavorited: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -139,7 +139,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, watch } from 'vue'
|
import { ref, watch, defineProps, defineEmits } from 'vue'
|
||||||
import IntervalDisplay from './IntervalDisplay.vue'
|
import IntervalDisplay from './IntervalDisplay.vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue'
|
import { computed, defineProps } from 'vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
intervals: {
|
intervals: {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed } from 'vue'
|
import { ref, computed, defineProps, defineEmits } from 'vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
rating: {
|
rating: {
|
||||||
|
|||||||
@@ -54,6 +54,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
import { defineProps, defineEmits } from 'vue'
|
||||||
import StarRating from './StarRating.vue'
|
import StarRating from './StarRating.vue'
|
||||||
import FavoriteButton from './FavoriteButton.vue'
|
import FavoriteButton from './FavoriteButton.vue'
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, computed, watch } from 'vue'
|
import { ref, computed, watch, defineProps, defineEmits } from 'vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export const useWorkoutLibraryStore = defineStore('workoutLibrary', () => {
|
|||||||
page: pagination.value.page,
|
page: pagination.value.page,
|
||||||
limit: pagination.value.limit,
|
limit: pagination.value.limit,
|
||||||
...Object.fromEntries(
|
...Object.fromEntries(
|
||||||
Object.entries(filters.value).filter(([_, v]) => v !== '' && v !== null)
|
Object.entries(filters.value).filter(([, v]) => v !== '' && v !== null)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
const data = await workoutLibraryApi.getWorkouts(params)
|
const data = await workoutLibraryApi.getWorkouts(params)
|
||||||
|
|||||||
Reference in New Issue
Block a user