Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ui/preact/basic_config_component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export abstract class BasicConfigComponent extends Component<
// Note: use arrow function to properly capture `this`.
protected writeConfig = async () => {
const confirmResult = this.props.notificator.confirm(
"Are you sure you want to update configuration?",
"Update configuration?",
NotificationSeverity.Wrn,
);
if (confirmResult.error) {
Expand Down Expand Up @@ -94,7 +94,7 @@ export abstract class BasicConfigComponent extends Component<
}

const alertResult = this.props.notificator.alert(
"Configuration updated successfully!",
"Configuration updated!",
NotificationSeverity.Inf,
);
if (alertResult.error) {
Expand All @@ -109,7 +109,7 @@ export abstract class BasicConfigComponent extends Component<
// Note: use arrow function to properly capture `this`.
protected resetConfig = async () => {
const confirmResult = this.props.notificator.confirm(
"Are you sure you want to reset configuration?",
"Reset configuration?",
NotificationSeverity.Wrn,
);
if (confirmResult.error) {
Expand Down Expand Up @@ -149,7 +149,7 @@ export abstract class BasicConfigComponent extends Component<
}

const alertResult = this.props.notificator.alert(
"Configuration reseted successfully!",
"Configuration reseted!",
NotificationSeverity.Inf,
);
if (alertResult.error) {
Expand Down