mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:19:24 +01:00
parent
ebc053aca5
commit
ad89139e07
1 changed files with 36 additions and 39 deletions
|
@ -234,10 +234,8 @@
|
||||||
</div>
|
</div>
|
||||||
@{
|
@{
|
||||||
var pendingAction = Model.Commands.Any(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase));
|
var pendingAction = Model.Commands.Any(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase));
|
||||||
}
|
|
||||||
@if (pendingAction || (updateAvailable && x != null && !DependentOn(plugin.Identifier)))
|
|
||||||
{
|
|
||||||
var exclusivePendingAction = true;
|
var exclusivePendingAction = true;
|
||||||
|
}
|
||||||
<div class="card-footer border-0 pb-3 d-flex gap-2">
|
<div class="card-footer border-0 pb-3 d-flex gap-2">
|
||||||
@if (pendingAction && updateAvailable)
|
@if (pendingAction && updateAvailable)
|
||||||
{
|
{
|
||||||
|
@ -254,7 +252,7 @@
|
||||||
<button type="submit" class="btn btn-outline-secondary">Cancel pending action</button>
|
<button type="submit" class="btn btn-outline-secondary">Cancel pending action</button>
|
||||||
</form>
|
</form>
|
||||||
}
|
}
|
||||||
@if(!pendingAction || !exclusivePendingAction)
|
@if (!pendingAction || !exclusivePendingAction)
|
||||||
{
|
{
|
||||||
@if (updateAvailable && x != null)
|
@if (updateAvailable && x != null)
|
||||||
{
|
{
|
||||||
|
@ -283,7 +281,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue