mirror of
https://github.com/Kenshin/simpread.git
synced 2026-02-01 15:41:29 +00:00
Format source.
This commit is contained in:
parent
8c24cea93c
commit
636aea53fc
@ -109,12 +109,9 @@ function controlbarRender() {
|
||||
site= pr.Cleansite({ ...cur_site });
|
||||
let flag = -1;
|
||||
|
||||
if ( site.info && state != "remote" && ( type == "update" || type == "delete" )) {
|
||||
if ( site.info && state != "remote" && site.target == "custom" &&( type == "update" || type == "delete" )) {
|
||||
if ( site.info.id.substr(0,8) == storage.user.uid.substr(0,8) ) {
|
||||
setTimeout( ()=>new Notify().Render( 2, "当前站有远程数据,请保持同步更新。" ), 500 );
|
||||
} else {
|
||||
// other user site
|
||||
// TO-DO
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user