Merge pull request 'devel' (#241) from devel into main

Reviewed-on: #241
This commit is contained in:
inhji 2023-07-29 16:59:14 +02:00
commit c832f7812c
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ defmodule Chiya.Site do
alias Chiya.Repo alias Chiya.Repo
alias Chiya.Site.Setting alias Chiya.Site.Setting
@preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel] @preloads [:home_channel, :default_channel, :micropub_channel, :wiki_channel, :bookmark_channel]
@default_settings %{ @default_settings %{
title: "Site Title", title: "Site Title",
subtitle: "Subtitle", subtitle: "Subtitle",

View file

@ -87,7 +87,7 @@ defmodule ChiyaWeb.PageController do
def bookmarks(conn, _params) do def bookmarks(conn, _params) do
[channel, notes] = [channel, notes] =
case conn.assigns.settings.wiki_channel_id do case conn.assigns.settings.bookmark_channel_id do
nil -> nil ->
[nil, nil] [nil, nil]