mirror of
https://github.com/nishiki/manage-password.git
synced 2025-03-19 21:04:35 +00:00
fix nothing item message in copy mode
This commit is contained in:
parent
a3dd83e63c
commit
afdbb05bc5
1 changed files with 1 additions and 2 deletions
|
@ -247,7 +247,6 @@ class Cli
|
||||||
|
|
||||||
if result.length == 0
|
if result.length == 0
|
||||||
puts I18n.t('display.nothing')
|
puts I18n.t('display.nothing')
|
||||||
|
|
||||||
else
|
else
|
||||||
table(result)
|
table(result)
|
||||||
end
|
end
|
||||||
|
@ -494,7 +493,7 @@ class Cli
|
||||||
items = @mpw.list(options)
|
items = @mpw.list(options)
|
||||||
|
|
||||||
if items.length == 0
|
if items.length == 0
|
||||||
puts "#{I18n.t('display.warning')}: #{I18n.t('warning.select')}".yellow
|
puts I18n.t('display.nothing')
|
||||||
else
|
else
|
||||||
table(items)
|
table(items)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue