From ec89e63beda2c8d45afbb528164fb4f591a45494 Mon Sep 17 00:00:00 2001 From: viglino Date: Mon, 27 May 2024 17:23:08 +0200 Subject: [PATCH] [UPD] islocked --- api/team.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/team.js b/api/team.js index e28be88..d192747 100644 --- a/api/team.js +++ b/api/team.js @@ -109,6 +109,11 @@ class Team extends ol_Object { isOwner() { return _team.user_role === 'owner' } + /** Is locked + */ + isLocked() { + return !!_team.locked + } /** Is redactor? */ isRedactor() {