generated from VLADIMIR/template_frontend
up
This commit is contained in:
@@ -7,6 +7,7 @@ import { useRoute } from 'vue-router'
|
||||
import { getAuthClient } from '@/api/auth_client'
|
||||
import type { Scenario } from '@/api/generated/crabs/evening_detective_server'
|
||||
import HeaderMenu from '@/components/HeaderMenu.vue'
|
||||
import IntroBlock from '@/components/IntroBlock.vue'
|
||||
|
||||
const message = useMessage()
|
||||
const client = getAuthClient()
|
||||
@@ -50,6 +51,9 @@ getScenario(Number(scenarioId))
|
||||
<n-tag :bordered="false" type="success" class="status-block">Автор: {{ scenario.author?.username
|
||||
}}</n-tag>
|
||||
</div>
|
||||
<IntroBlock
|
||||
v-if="scenario.story?.introduction && (scenario.story.introduction.text || scenario.story.introduction.audio)"
|
||||
:introduction="scenario.story.introduction" mode="show" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user