Change appName to title

This commit is contained in:
Oliver Davies 2019-06-14 23:04:14 +01:00
parent c428624939
commit 4da1446820
3 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@
</p> </p>
</alert-message> </alert-message>
<router-view :app-name="name"></router-view> <router-view :title="title"></router-view>
</div> </div>
</template> </template>
@ -19,7 +19,7 @@
export default { export default {
data () { data () {
return { return {
name: 'Rebuilding Platform.sh' title: 'Rebuilding Platform.sh'
} }
} }
} }

View file

@ -5,7 +5,7 @@
<router-link :to="{ name: 'projects' }" class="font-semibold text-white opacity-75">Projects</router-link> <router-link :to="{ name: 'projects' }" class="font-semibold text-white opacity-75">Projects</router-link>
<svg class="h-6 w-6 fill-current text-white opacity-75" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6.9 9.9c0-.3.1-.5.3-.7.4-.4 1-.4 1.4 0l3.5 3.5 3.5-3.5c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4l-4.2 4.2c-.4.4-1 .4-1.4 0l-4.2-4.2c-.2-.2-.3-.4-.3-.7z"/></svg> <svg class="h-6 w-6 fill-current text-white opacity-75" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6.9 9.9c0-.3.1-.5.3-.7.4-.4 1-.4 1.4 0l3.5 3.5 3.5-3.5c.4-.4 1-.4 1.4 0 .4.4.4 1 0 1.4l-4.2 4.2c-.4.4-1 .4-1.4 0l-4.2-4.2c-.2-.2-.3-.4-.3-.7z"/></svg>
</li> </li>
<li class="flex items-center font-semibold" v-text="appName"></li> <li class="flex items-center font-semibold" v-text="title"></li>
</ul> </ul>
</div> </div>
</template> </template>
@ -13,7 +13,7 @@
<script> <script>
export default { export default {
props: { props: {
appName: { title: {
type: String, type: String,
required: true required: true
} }

View file

@ -2,7 +2,7 @@
<div> <div>
<banner> <banner>
<template v-slot:banner-left> <template v-slot:banner-left>
<project-breadcrumb :app-name="appName"/> <project-breadcrumb :title="title"/>
</template> </template>
</banner> </banner>
Project Project
@ -14,7 +14,7 @@ import ProjectBreadcrumb from '@/components/ProjectBreadcrumb'
export default { export default {
props: { props: {
appName: { title: {
type: String, type: String,
required: true required: true
} }