Merge pull request #468 from ajnart/407-fix-typo-stoped-stoping-instead-of-stopped-stopping

407 fix typo stoped stoping instead of stopped stopping
This commit is contained in:
Thomas Camlong
2022-10-11 11:12:04 +09:00
committed by GitHub
3 changed files with 20 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ function sendDockerCommand(
showNotification({
id: containerId,
loading: true,
title: `${action}ing container ${containerName}`,
title: `${t(`actions.${action}.start`)} ${containerName}`,
message: undefined,
autoClose: false,
disallowClose: true,
@@ -41,8 +41,8 @@ function sendDockerCommand(
.then((res) => {
updateNotification({
id: containerId,
title: t('messages.successfullyExecuted.message', { containerName, action }),
message: t('messages.successfullyExecuted.message', { action }),
title: containerName,
message: `${t(`actions.${action}.end`)} ${containerName}`,
icon: <IconCheck />,
autoClose: 2000,
});