mirror of
https://github.com/pcvolkmer/cert-tools.git
synced 2025-09-13 03:02:51 +00:00
chore: relabel export button
This should show that only certs will be exported.
This commit is contained in:
@@ -430,9 +430,9 @@ impl Ui {
|
|||||||
let export_button = if !(self.chain_indicator_state == IndicatorState::Success
|
let export_button = if !(self.chain_indicator_state == IndicatorState::Success
|
||||||
|| self.chain_indicator_state == IndicatorState::Cleaned)
|
|| self.chain_indicator_state == IndicatorState::Cleaned)
|
||||||
{
|
{
|
||||||
button("Export PEM").style(button::primary)
|
button("Export cert(s) as PEM").style(button::primary)
|
||||||
} else {
|
} else {
|
||||||
button("Export PEM")
|
button("Export cert(s) as PEM")
|
||||||
.on_press(Message::PickExportFile)
|
.on_press(Message::PickExportFile)
|
||||||
.style(button::primary)
|
.style(button::primary)
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user