dochub-sdk 0.1.324 → 0.1.325
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,7 +106,7 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
|
|
106
106
|
*/
|
107
107
|
async getMetaEdit(): Promise<IDocHubEditableMeta> {
|
108
108
|
return {
|
109
|
-
title: this.profile?.title || this.followFiles?.[0] || '$undefined$',
|
109
|
+
title: this.profile?.title || this.profile?.$base?.toString() || this.followFiles?.[0] || '$undefined$',
|
110
110
|
icon: getIconByURI(this.baseURI || this.followFiles?.[0]),
|
111
111
|
// Генерирует на все задействованные файлы точки редактирования
|
112
112
|
entries: this.followFiles?.map((uri: string): IDocHubEditableMetaEditEntry => {
|