fix current directory not updating when modifying stuff
This commit is contained in:
9
frontend/composables/useWarrenPath.ts
Normal file
9
frontend/composables/useWarrenPath.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export function useWarrenPath() {
|
||||
const store = useWarrenStore();
|
||||
|
||||
if (store.current == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return `${store.current.warrenId}/${store.current.path}`;
|
||||
}
|
||||
Reference in New Issue
Block a user