Extendable embed stream tabs

This commit is contained in:
Chi Vinh Le
2017-11-15 19:38:25 +01:00
parent 81d90cb138
commit ce4ad426a7
8 changed files with 108 additions and 70 deletions
@@ -16,7 +16,7 @@ export default {
reducer,
translations,
slots: {
streamTabs: [Tab],
streamTabsPrepend: [Tab],
streamTabPanes: [TabPane],
commentInfoBar: [Tag],
moderationActions: [ModActionButton],
@@ -57,7 +57,7 @@ export default {
}
const comment = findCommentInEmbedQuery(previous, variables.id);
if (previous.asset.comments) {
updated = update(previous, {
asset: {
@@ -101,7 +101,7 @@ export default {
updateQueries: {
CoralEmbedStream_Embed: (previous) => {
let updated = previous;
if (variables.name !== 'FEATURED') {
return;
}