mirror of
https://github.com/abhi1693/openclaw-mission-control.git
synced 2026-08-14 01:07:51 +00:00
fix: remove unnecessary directive and reduce code duplication
Co-authored-by: abhi1693 <5083532+abhi1693@users.noreply.github.com>
This commit is contained in:
co-authored by
abhi1693
parent
8c197ffbbd
commit
9816a43f91
@@ -613,14 +613,13 @@ class GatewayCoordinationService(AbstractGatewayMessagingService):
|
||||
db_updated = False
|
||||
if filename == "SOUL.md":
|
||||
target.soul_template = normalized_content
|
||||
target.updated_at = utcnow()
|
||||
db_updated = True
|
||||
elif filename == "IDENTITY.md":
|
||||
target.identity_template = normalized_content
|
||||
target.updated_at = utcnow()
|
||||
db_updated = True
|
||||
|
||||
if db_updated:
|
||||
target.updated_at = utcnow()
|
||||
self.session.add(target)
|
||||
await self.session.commit()
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
"use client";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
import { useParams, useRouter } from "next/navigation";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user