mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-15 04:04:50 +08:00
Use CSS instead of $index #1797
This commit is contained in:
parent
e345550c7f
commit
82ab4c4c6d
2 changed files with 5 additions and 2 deletions
|
@ -45,4 +45,8 @@
|
|||
content: ')';
|
||||
}
|
||||
|
||||
.identities-list tr + tr .identity-default {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -58,8 +58,7 @@
|
|||
</td>
|
||||
<td class="e-action">
|
||||
<span class="identity-name" data-bind="text: formattedName()"></span>
|
||||
|
||||
<span class="identity-default" data-bind="visible: !$context.$index()" data-i18n="GLOBAL/DEFAULT"></span>
|
||||
<span class="identity-default" data-i18n="GLOBAL/DEFAULT"></span>
|
||||
</td>
|
||||
<td>
|
||||
<a class="btn btn-small btn-danger button-confirm-delete" data-bind="visible: id, css: {'delete-access': askDelete}, click: function(oIdentity) { $root.deleteIdentity(oIdentity); }"
|
||||
|
|
Loading…
Reference in a new issue