fixes
This commit is contained in:
@@ -4,4 +4,5 @@ public class WorkspaceContext(IMainApi mainApi, IWorkspace? workspace)
|
||||
{
|
||||
public IMainApi MainApi => mainApi;
|
||||
public IWorkspace? Workspace { get; set; } = workspace;
|
||||
public bool Canceled { get; set; }
|
||||
}
|
||||
@@ -14,7 +14,7 @@ public abstract class WorkspaceFeature(string identifier, string name) : PluginF
|
||||
{
|
||||
await OnConfigure(context);
|
||||
|
||||
if (context?.Workspace?.Config is not null)
|
||||
if (!context.Canceled && context.Workspace?.Config is not null)
|
||||
context.Workspace.Config.ProviderId = Identifier;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user