feature: document handlers
This commit is contained in:
@@ -4,6 +4,8 @@ using Disco.Models.Services.Documents;
|
||||
using Disco.Models.Services.Jobs.JobLists;
|
||||
using Disco.Models.Services.Plugins.Details;
|
||||
using Disco.Models.UI.User;
|
||||
using Disco.Services.Plugins;
|
||||
using Disco.Services.Plugins.Features.DocumentHandlerProvider;
|
||||
using Disco.Web.Models.Shared;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -21,6 +23,7 @@ namespace Disco.Web.Models.User
|
||||
Target = User,
|
||||
Templates = DocumentTemplates,
|
||||
TemplatePackages = DocumentTemplatePackages,
|
||||
HandlersPresent = Plugins.GetPluginFeatures(typeof(DocumentHandlerProviderFeature)).Any(),
|
||||
};
|
||||
|
||||
public List<UserFlag> AvailableUserFlags { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user