mirror of https://github.com/go-gitea/gitea.git
11 lines
302 B
TypeScript
11 lines
302 B
TypeScript
import {reactive} from 'vue';
|
|
|
|
let diffTreeStoreReactive;
|
|
export function diffTreeStore() {
|
|
if (!diffTreeStoreReactive) {
|
|
diffTreeStoreReactive = reactive(window.config.pageData.diffFileInfo);
|
|
window.config.pageData.diffFileInfo = diffTreeStoreReactive;
|
|
}
|
|
return diffTreeStoreReactive;
|
|
}
|