Skip to content

Commit 1f1918d

Browse files
authored
Remove LogTreeItem from flex apps (#4108)
* Package.json and changelog * Remove log node for flex apps
1 parent 07ea46b commit 1f1918d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tree/ResolvedFunctionAppResource.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,10 @@ export class ResolvedFunctionAppResource extends ResolvedFunctionAppBase impleme
231231
this._functionsTreeItem = await RemoteFunctionsTreeItem.createFunctionsTreeItem(context, proxyTree);
232232
}
233233

234-
const children: AzExtTreeItem[] = [this._functionsTreeItem, this.appSettingsTreeItem, this._siteFilesTreeItem, this._logFilesTreeItem];
234+
const children: AzExtTreeItem[] = [this._functionsTreeItem, this.appSettingsTreeItem, this._siteFilesTreeItem];
235235
// Deployment configuration not supported by flex consumption at the time
236236
if (!this._isFlex) {
237+
children.push(this._logFilesTreeItem);
237238
children.push(this.deploymentsNode);
238239
}
239240

0 commit comments

Comments
 (0)