Rename loadExistingYaml
This commit is contained in:
@@ -83,7 +83,10 @@ export class DataExtensionsEditorView extends AbstractWebview<
|
|||||||
protected async onWebViewLoaded() {
|
protected async onWebViewLoaded() {
|
||||||
super.onWebViewLoaded();
|
super.onWebViewLoaded();
|
||||||
|
|
||||||
await Promise.all([this.loadExternalApiUsages(), this.readExistingYaml()]);
|
await Promise.all([
|
||||||
|
this.loadExternalApiUsages(),
|
||||||
|
this.loadExistingModeledMethods(),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async saveYaml(yaml: string): Promise<void> {
|
protected async saveYaml(yaml: string): Promise<void> {
|
||||||
@@ -97,7 +100,7 @@ export class DataExtensionsEditorView extends AbstractWebview<
|
|||||||
void extLogger.log(`Saved data extension YAML to ${modelFilename}`);
|
void extLogger.log(`Saved data extension YAML to ${modelFilename}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async readExistingYaml(): Promise<void> {
|
protected async loadExistingModeledMethods(): Promise<void> {
|
||||||
const modelFilename = this.modelFileName;
|
const modelFilename = this.modelFileName;
|
||||||
if (!modelFilename) {
|
if (!modelFilename) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user