@@ -209,7 +209,7 @@ namespace Disco.Services.Jobs.Noticeboards
|
||||
}
|
||||
}
|
||||
|
||||
private static IEnumerable<IHeldDeviceItem> GetHeldDevices(IQueryable<Job> query)
|
||||
public static IEnumerable<IHeldDeviceItem> GetHeldDevices(IQueryable<Job> query)
|
||||
{
|
||||
var jobs = query
|
||||
.Where(j =>
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Disco.Services.Jobs.Noticeboards
|
||||
}
|
||||
}
|
||||
|
||||
private static IEnumerable<IHeldDeviceItem> GetHeldDevicesForUsers(IQueryable<Job> query)
|
||||
public static IEnumerable<IHeldDeviceItem> GetHeldDevicesForUsers(IQueryable<Job> query)
|
||||
{
|
||||
var jobs = query
|
||||
.Where(j =>
|
||||
|
||||
@@ -36,5 +36,10 @@ namespace Disco.Services.Jobs.Noticeboards
|
||||
|
||||
return base.OnConnected();
|
||||
}
|
||||
|
||||
public static void SetTheme(string ThemeName)
|
||||
{
|
||||
HubContext.Clients.All.setTheme(ThemeName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user