This commit is contained in:
@@ -52,12 +52,17 @@
|
||||
</div>
|
||||
|
||||
<q-btn
|
||||
@click="editProject"
|
||||
flat round
|
||||
color="white"
|
||||
icon="edit"
|
||||
size="md"
|
||||
/>
|
||||
@click="toProjects"
|
||||
flat
|
||||
no-caps
|
||||
dense
|
||||
class="q-ml-xl"
|
||||
>
|
||||
<span class="flex items-center no-wrap text-caption">
|
||||
{{ $t('header__to_projects') }}
|
||||
<q-icon name="mdi-chevron-right"/>
|
||||
</span>
|
||||
</q-btn>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -93,9 +98,8 @@
|
||||
expandProjectInfo.value = !expandProjectInfo.value
|
||||
}
|
||||
|
||||
async function editProject () {
|
||||
if (currentProjectId.value)
|
||||
await router.push({ name: 'project_info', params: { id: currentProjectId.value } })
|
||||
async function toProjects () {
|
||||
await router.push({ name: 'projects' })
|
||||
}
|
||||
|
||||
interface sizeParams {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<q-item-label lines="1" class="text-bold" v-if="item.section1">
|
||||
{{item.section1}}
|
||||
</q-item-label>
|
||||
<q-item-label lines="1" caption v-if="item.section3">
|
||||
<q-item-label lines="2" caption v-if="item.section3">
|
||||
{{item.section3}}
|
||||
</q-item-label>
|
||||
<q-item-label caption lines="2">
|
||||
@@ -172,7 +172,7 @@
|
||||
<q-item-label lines="1" class="text-bold" v-if="item.section1">
|
||||
{{item.section1}}
|
||||
</q-item-label>
|
||||
<q-item-label lines="1" caption v-if="item.section3">
|
||||
<q-item-label lines="2" caption v-if="item.section3">
|
||||
{{item.section3}}
|
||||
</q-item-label>
|
||||
<q-item-label caption lines="2">
|
||||
|
||||
Reference in New Issue
Block a user