Small changes

This commit is contained in:
Marcel Baumgartner 2023-10-24 21:42:47 +02:00
parent dae09668b2
commit 19b5c7816a
2 changed files with 6 additions and 4 deletions

View file

@ -7,12 +7,10 @@ namespace Moonlight.App.Services.Background;
public class AutoMailSendService // This service is responsible for sending mails automatically
{
private readonly MailService MailService;
private readonly ConfigService ConfigService;
public AutoMailSendService(MailService mailService, ConfigService configService)
public AutoMailSendService(MailService mailService)
{
MailService = mailService;
ConfigService = configService;
Events.OnUserRegistered += OnUserRegistered;
Events.OnServiceOrdered += OnServiceOrdered;

View file

@ -66,7 +66,11 @@
TableHeadClass="fw-bold text-muted">
<Column TableItem="Transaction" Title="" Field="@(x => x.Id)" Sortable="false" Filterable="false" Width="10%">
<Template>
@if (context.Price < 0)
@if (context.Price == 0)
{
<i class="bx bx-sm bx-circle text-info align-middle"></i>
}
else if (context.Price < 0)
{
<i class="bx bx-sm bx-minus text-danger align-middle"></i>
}