File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 </ItemGroup >
2020
2121 <ItemGroup >
22+ <ProjectReference Include =" ..\..\plugins\Common\Common.csproj" />
2223 <ProjectReference Include =" ..\Core\Core.csproj" />
2324 </ItemGroup >
2425
4546 <PluginBaseDir >$(SolutionDir)plugins\Common\</PluginBaseDir >
4647 <UpgradeBaseDir >$(SolutionDir)src\Upgrade\</UpgradeBaseDir >
4748 </PropertyGroup >
48- <Copy SourceFiles =" $(PluginBaseDir)\bin\$(Configuration)\$(TargetFramework)\Common.dll"
49- DestinationFolder =" $(TargetDir)"
50- Condition =" Exists('$(PluginBaseDir)bin\$(Configuration)\$(TargetFramework)\Common.dll')" />
51- <Copy SourceFiles =" $(UpgradeBaseDir)\bin\$(Configuration)\$(TargetFramework)\Upgrade.dll"
52- DestinationFolder =" $(TargetDir)"
53- Condition =" Exists('$(UpgradeBaseDir)bin\$(Configuration)\$(TargetFramework)\Upgrade.dll')" />
49+ <Copy SourceFiles =" $(PluginBaseDir)\bin\$(Configuration)\$(TargetFramework)\Common.dll" DestinationFolder =" $(TargetDir)" Condition =" Exists('$(PluginBaseDir)bin\$(Configuration)\$(TargetFramework)\Common.dll')" />
50+ <Copy SourceFiles =" $(UpgradeBaseDir)\bin\$(Configuration)\$(TargetFramework)\Upgrade.dll" DestinationFolder =" $(TargetDir)" Condition =" Exists('$(UpgradeBaseDir)bin\$(Configuration)\$(TargetFramework)\Upgrade.dll')" />
5451 </Target >
5552
5653</Project >
Load diff This file was deleted.
Original file line number Diff line number Diff line change 11@inject IViewLocalizer Localizer
22@inject Core .Services .IDataService _data ;
3+ @inject Core .Services .INotificationService _notes ;
34@{
45 IEnumerable <Notification > _notifications = new List <Notification >();
56 bool _isAdmin = false ;
1011 if (user != null )
1112 {
1213 _isAdmin = user .IsAdmin ;
13- }
14- if (Model .Notifications != null )
15- {
16- _notifications = (IEnumerable <Notification >)Model .Notifications ;
14+ _notifications = await _notes .GetNotifications (user .Id );
1715 }
1816 }
1917 catch { }
You can’t perform that action at this time.
0 commit comments