2025-08-23 00:03:20 +02:00
|
|
|
/*!
|
|
|
|
|
* Copyright (c) 2024 PLANKA Software GmbH
|
|
|
|
|
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
|
import { Icon, Message } from 'semantic-ui-react';
|
|
|
|
|
|
2025-12-09 14:58:01 +01:00
|
|
|
const SourceCardNotMovableToast = React.memo(() => {
|
2025-08-23 00:03:20 +02:00
|
|
|
const [t] = useTranslation();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<Message visible negative size="tiny">
|
2025-12-09 14:58:01 +01:00
|
|
|
<Icon name="paste" />
|
|
|
|
|
{t('common.sourceCardIsNoLongerAvailableForMoving')}
|
2025-08-23 00:03:20 +02:00
|
|
|
</Message>
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
|
2025-12-09 14:58:01 +01:00
|
|
|
export default SourceCardNotMovableToast;
|