Fixed checking if other party's name is set
This commit is contained in:
parent
37570da2ac
commit
ea91396ccf
|
@ -82,7 +82,7 @@ open class AccountTransactionsView(private val presenter: MainWindowPresenter) :
|
||||||
val contextMenu = ContextMenu()
|
val contextMenu = ContextMenu()
|
||||||
|
|
||||||
contextMenu.apply {
|
contextMenu.apply {
|
||||||
if (selectedItem.bankAccount.supportsTransferringMoney && selectedItem.otherPartyName != null) {
|
if (selectedItem.bankAccount.supportsTransferringMoney && selectedItem.otherPartyName.isNullOrBlank() == false) {
|
||||||
item(String.format(FX.messages["account.transactions.table.context.menu.transfer.money.to"], selectedItem.otherPartyName)) {
|
item(String.format(FX.messages["account.transactions.table.context.menu.transfer.money.to"], selectedItem.otherPartyName)) {
|
||||||
action { showTransferMoneyDialog(selectedItem) }
|
action { showTransferMoneyDialog(selectedItem) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue