mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 07:02:06 +10:00
fix: embed provider name in error message
This commit is contained in:
@ -56,7 +56,9 @@ export default function EmbedView(props: NodeViewProps) {
|
||||
updateAttributes({ src: data.url });
|
||||
} else {
|
||||
notifications.show({
|
||||
message: t("Invalid {{provider}} embed link", { provider: provider }),
|
||||
message: t("Invalid {{provider}} embed link", {
|
||||
provider: embedProvider.name,
|
||||
}),
|
||||
position: "top-right",
|
||||
color: "red",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user