• Christopher's avatar
    fix: private memos being public (#2480) · a62f1e15
    Christopher authored
    * fix(web/memo): filter out public option
    
    Filter out the public option if we have disabled public memos
    
    * feat(api/memo): sanity check for disabled public memos
    
    In case something goes wrong, we check the system setting on the backend in order to valdiate if we can create a public memo
    
    * refactor(web/memo): disable public option
    
    Seems like a better option than removing it, as it looks werid if you are looking at a memo that is previously public
    
    * fix(web/memo): use translation keys
    
    * chore(web/editor): remove unsused tooltip
    
    * revert(api/memo): sanity check
    
    * fix(web/memo): allow admins to create public memos
    
    * chore(web/memo): remove unused import
    
    * fix(web/memo): check for both host and admin
    
    * fix(web/memo): remove warning text from MemoDetail
    a62f1e15
index.tsx 16.5 KB