Removing traces of PayButton being an app... shhhh...

This commit is contained in:
rockstardev 2018-08-22 14:04:59 +02:00
parent 5a43ce2719
commit 45b7df6ac9
3 changed files with 2 additions and 18 deletions

View File

@ -1,15 +0,0 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Data;
using BTCPayServer.Models.AppViewModels;
using BTCPayServer.Services.Apps;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Controllers
{
public partial class AppsController
{
}
}

View File

@ -7,7 +7,6 @@ namespace BTCPayServer.Services.Apps
{
public enum AppType
{
PointOfSale,
PayButton
PointOfSale
}
}

View File

@ -49,7 +49,7 @@
<td>@app.AppName</td>
<td>@app.AppType</td>
<td style="text-align:right">
@if (app.IsOwner && app.AppType != AppType.PayButton.ToString())
@if (app.IsOwner)
{
<a asp-action="@app.UpdateAction" asp-controller="Apps" asp-route-appId="@app.Id">Settings</a><span> - </span>
}