mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -05:00
added ability to mark recipes as private
This commit is contained in:
@@ -8,7 +8,7 @@ axios.defaults.xsrfHeaderName = "X-CSRFTOKEN"
|
||||
|
||||
export function apiLoadRecipe(recipe_id) {
|
||||
let url = resolveDjangoUrl('api:recipe-detail', recipe_id)
|
||||
if (window.SHARE_UID !== undefined) {
|
||||
if (window.SHARE_UID !== undefined && window.SHARE_UID !== 'None') {
|
||||
url += '?share=' + window.SHARE_UID
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user