missing IStringLocalizer<Index> causing compilation error

This commit is contained in:
Shaun Walker 2020-11-20 10:30:07 -05:00
parent 6d913c842c
commit 710aab9b93

View File

@ -1,6 +1,7 @@
@namespace Oqtane.Modules.Admin.Jobs
@inherits ModuleBase
@inject IJobService JobService
@inject IStringLocalizer<Index> Localizer
@if (_jobs == null)
{
@ -11,7 +12,8 @@ else
<ActionLink Action="Add" Text="Add Job" ResourceKey="AddJob" />
<ActionLink Action="Log" Class="btn btn-secondary" Text="View Logs" ResourceKey="ViewJobs" />
<button type="button" class="btn btn-secondary" @onclick="(async () => await Refresh())">Refresh</button>
<br /><br />
<br />
<br />
<Pager Items="@_jobs">
<Header>