fixes in ux
This commit is contained in:
+3
-1
@@ -172,7 +172,9 @@ async fn note(
|
||||
match db::find_note(&state.db, workspace.id, ¬e_slug).await {
|
||||
Ok(Some(note)) => {
|
||||
let html = include_str!("../static/note.html")
|
||||
.replace("__NOTE_TITLE__", &escape_html(¬e.title));
|
||||
.replace("__NOTE_TITLE__", &escape_html(¬e.title))
|
||||
.replace("__WORKSPACE_TITLE__", &escape_html(&workspace.title))
|
||||
.replace("__WORKSPACE_SLUG__", &escape_html(&workspace_slug));
|
||||
versioned_html(&html, &state.asset_version)
|
||||
},
|
||||
Ok(None) => error_response(
|
||||
|
||||
Reference in New Issue
Block a user