mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix for locked sealed topics
This commit is contained in:
parent
6791d56123
commit
75f283799e
@ -37,7 +37,7 @@ export function useAddTopic(contentKey) {
|
||||
|
||||
useEffect(() => {
|
||||
let conflict = false;
|
||||
if (state.locked) {
|
||||
if (state.locked && state.assets.length > 0) {
|
||||
conflict = true;
|
||||
}
|
||||
state.assets.forEach(asset => {
|
||||
|
Loading…
Reference in New Issue
Block a user