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>
|
||||
@{
|
||||
var pendingAction = Model.Commands.Any(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase));
|
||||
}
|
||||
@if (pendingAction || (updateAvailable && x != null && !DependentOn(plugin.Identifier)))
|
||||
{
|
||||
var exclusivePendingAction = true;
|
||||
}
|
||||
<div class="card-footer border-0 pb-3 d-flex gap-2">
|
||||
@if (pendingAction && updateAvailable)
|
||||
{
|
||||
|
@ -254,7 +252,7 @@
|
|||
<button type="submit" class="btn btn-outline-secondary">Cancel pending action</button>
|
||||
</form>
|
||||
}
|
||||
@if(!pendingAction || !exclusivePendingAction)
|
||||
@if (!pendingAction || !exclusivePendingAction)
|
||||
{
|
||||
@if (updateAvailable && x != null)
|
||||
{
|
||||
|
@ -283,7 +281,6 @@
|
|||
}
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue