Skip to content

Commit

Permalink
Make it more difficult to collide with defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 19, 2024
1 parent afe673d commit 6c46635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Sharing/SharingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const defaultExtra = () =>
const item = ref<Item>({
title: "title",
username_and_slug: "username/slug",
username_and_slug: "__username__/__slug__",
importable: false,
published: false,
users_shared_with: [],
Expand Down Expand Up @@ -208,7 +208,7 @@ function onPublish(published: boolean) {
const hasUsername = ref(Boolean(getGalaxyInstance().user.get("username")));
const newUsername = ref("");
const slugSet = computed(() => itemUrl.slug != "slug" && itemUrl.prefix != "username");
const slugSet = computed(() => itemUrl.slug != "__slug__" && itemUrl.prefix != "__username__");
async function setUsername() {
axios
Expand Down

0 comments on commit 6c46635

Please sign in to comment.