mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-21 23:43:41 +00:00
10 lines
187 B
JavaScript
10 lines
187 B
JavaScript
import Vue from 'vue';
|
|
|
|
export const hashState = Vue.observable({
|
|
currentHash: window.location.hash,
|
|
});
|
|
|
|
export const updateHash = (newHash) => {
|
|
hashState.currentHash = newHash;
|
|
};
|