fix(ui): more '''s declared as 'store'
This commit is contained in:
parent
30e4ea64c7
commit
34ed89c378
|
@ -54,7 +54,7 @@ const open = ref(false)
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<semantic-modal
|
<semantic-modal
|
||||||
v-model:show="$store.state.channels.showUploadModal"
|
v-model:show="store.state.channels.showUploadModal"
|
||||||
class="small"
|
class="small"
|
||||||
>
|
>
|
||||||
<h4 class="header">
|
<h4 class="header">
|
||||||
|
@ -74,7 +74,7 @@ const open = ref(false)
|
||||||
<div class="scrolling content">
|
<div class="scrolling content">
|
||||||
<channel-upload-form
|
<channel-upload-form
|
||||||
ref="uploadForm"
|
ref="uploadForm"
|
||||||
:channel="$store.state.channels.uploadModalConfig.channel ?? null"
|
:channel="store.state.channels.uploadModalConfig.channel ?? null"
|
||||||
@step="step = $event"
|
@step="step = $event"
|
||||||
@loading="isLoading = $event"
|
@loading="isLoading = $event"
|
||||||
@status="statusData = $event"
|
@status="statusData = $event"
|
||||||
|
|
|
@ -120,15 +120,15 @@ const paginateOptions = computed(() => sortedUniq([12, 25, 50, paginateBy.value]
|
||||||
class="ui center aligned icon header"
|
class="ui center aligned icon header"
|
||||||
>
|
>
|
||||||
<i class="circular inverted heart pink icon" />
|
<i class="circular inverted heart pink icon" />
|
||||||
{{ t('components.favorites.List.header.favorites', $store.state.favorites.count) }}
|
{{ t('components.favorites.List.header.favorites', store.state.favorites.count) }}
|
||||||
</h2>
|
</h2>
|
||||||
<radio-button
|
<radio-button
|
||||||
v-if="$store.state.favorites.count > 0"
|
v-if="store.state.favorites.count > 0"
|
||||||
type="favorites"
|
type="favorites"
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
<section
|
<section
|
||||||
v-if="$store.state.favorites.count > 0"
|
v-if="store.state.favorites.count > 0"
|
||||||
class="ui vertical stripe segment"
|
class="ui vertical stripe segment"
|
||||||
>
|
>
|
||||||
<div :class="['ui', { 'loading': isLoading }, 'form']">
|
<div :class="['ui', { 'loading': isLoading }, 'form']">
|
||||||
|
|
|
@ -250,7 +250,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
{{ t('components.library.Artists.empty.noResults') }}
|
{{ t('components.library.Artists.empty.noResults') }}
|
||||||
</div>
|
</div>
|
||||||
<router-link
|
<router-link
|
||||||
v-if="$store.state.auth.authenticated"
|
v-if="store.state.auth.authenticated"
|
||||||
:to="{name: 'content.index'}"
|
:to="{name: 'content.index'}"
|
||||||
class="ui success button labeled icon"
|
class="ui success button labeled icon"
|
||||||
>
|
>
|
||||||
|
|
|
@ -41,4 +41,25 @@
|
||||||
> .actions {
|
> .actions {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add styles for when alert is used as a notification
|
||||||
|
&.is-notification {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 1rem;
|
||||||
|
right: 1rem;
|
||||||
|
z-index: 1000;
|
||||||
|
min-width: 200px;
|
||||||
|
max-width: 400px;
|
||||||
|
|
||||||
|
&.fade-enter-active,
|
||||||
|
&.fade-leave-active {
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.fade-enter-from,
|
||||||
|
&.fade-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(1rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue