diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/state/templates.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/state/templates.go b/lib/state/templates.go index 37767660..e5206cf0 100644 --- a/lib/state/templates.go +++ b/lib/state/templates.go @@ -160,6 +160,13 @@ func (d *templateData) Account() string { return "" } +func (d *templateData) AccountBackend() string { + if d.account != nil { + return d.account.Backend + } + return "" +} + func (d *templateData) Folder() string { if d.folder != nil { return d.folder.Name |