client에서 server데이터를 삭제하는 버그 수정

This commit is contained in:
김민서 2024-02-27 14:28:48 +09:00
parent dfba089d01
commit 342e459f4f
1 changed files with 8 additions and 1 deletions

View File

@ -31,7 +31,14 @@ namespace Server.Git
break; break;
case "all": case "all":
string name = sheets[m].name; string name = sheets[m].name;
Dictionary<long, Dictionary<string, object>> clientSheet = new Dictionary<long, Dictionary<string, object>>(sheets[m].dicViewer); Dictionary<long, Dictionary<string, object>> clientSheet = new Dictionary<long, Dictionary<string, object>>();
foreach (KeyValuePair<long, Dictionary<string, object>> item in sheets[m].dicViewer)
{
clientSheet.Add(item.Key, new Dictionary<string, object>(item.Value));
}
for (int i = 1; i < sheets[m].dataEnum.Count; i++) for (int i = 1; i < sheets[m].dataEnum.Count; i++)
{ {
if (sheets[m].dataEnum[i] == "server") if (sheets[m].dataEnum[i] == "server")