An API for fetching the list to which a command extension is attached
Currently when the extension(command set) is used for a list/library, and when the same library view is shown in modern page, the list title returned in a SPFx command set extension refers to the SitePages library when the list is surfaced through a list web part on a site page.
The command set extension is reading the title from this.context.pageContext.list.title.
Because the page in context comes from the site pages library, this chain will refer to the site pages library.
can we get an API for fetching the list to which a command extension is attached
