Skip to content
Snippets Groups Projects
Commit a03702d2 authored by syuilo's avatar syuilo
Browse files

Better note auto collapse algorithm

parent 71d7de49
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ export default defineComponent({
this.connection = os.stream;
}
this.collapsed = this.appearNote.text && (
this.collapsed = this.appearNote.cw == null && this.appearNote.text && (
(this.appearNote.text.split('\n').length > 9) ||
(this.appearNote.text.length > 500)
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment