mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: rename user role (#108)
* chore: rename user role to `host` * chore: related frontend changes * chore: fix migration file * chore: use tricky sql
This commit is contained in:
@ -48,7 +48,7 @@ const SettingDialog: React.FC<Props> = (props: Props) => {
|
||||
<span className="icon-text">🏟</span> Preferences
|
||||
</span>
|
||||
</div>
|
||||
{user?.role === "OWNER" ? (
|
||||
{user?.role === "HOST" ? (
|
||||
<>
|
||||
<span className="section-title">Admin</span>
|
||||
<div className="section-items-container">
|
||||
|
Reference in New Issue
Block a user