Tab titles name the record; Guides reach a site and the contract surface
This commit is contained in:
@@ -6,7 +6,7 @@ export default [
|
||||
path: 'reports/pc-relationships',
|
||||
name: 'report-pc-relationships',
|
||||
component: () => import('./views/PCRelationshipsReport.vue'),
|
||||
meta: { plugin: 'computers' }
|
||||
meta: { plugin: 'computers', title: 'PC Relationships Report' }
|
||||
},
|
||||
{
|
||||
path: 'settings/pctypemapping',
|
||||
|
||||
@@ -263,6 +263,7 @@ import CustomFieldsSection from '@/components/CustomFieldsSection.vue'
|
||||
import PluginAssetPanels from '@/components/PluginAssetPanels.vue'
|
||||
import AssetRelationships from '@/components/AssetRelationships.vue'
|
||||
import { useIdentifierFlags } from '@/composables/identifierSettings'
|
||||
import { setRecordTitle } from '@/composables/pageTitle'
|
||||
|
||||
const route = useRoute()
|
||||
const { isEnabled } = useIdentifierFlags()
|
||||
@@ -280,6 +281,7 @@ onMounted(async () => {
|
||||
try {
|
||||
const response = await computersApi.get(route.params.id)
|
||||
computer.value = response.data.data
|
||||
setRecordTitle(computer.value?.assetnumber || computer.value?.name)
|
||||
|
||||
// Load installed applications
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user