mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 08:13:40 +00:00
fix (plg_widget_description): improve error handling
This commit is contained in:
@@ -34,6 +34,7 @@ export default async function(render, { path }) {
|
||||
|
||||
effect(getDescription(path).pipe(
|
||||
rxjs.tap(({ text }) => $DOM.textarea.value = text),
|
||||
rxjs.catchError(() => rxjs.EMPTY),
|
||||
));
|
||||
|
||||
effect(rxjs.fromEvent($DOM.textarea, "input").pipe(
|
||||
|
||||
Reference in New Issue
Block a user